title = $title; } public function setKeywords($keywords) { $this->keywords = $keywords; } public function setDescription($description) { $this->description = $description; } public function setTitleSeparator($titleSeparator) { $this->titleSeparator = $titleSeparator; } public function appendTitle($text) { $append = is_array($text) ? implode($this->titleSeparator, $text) : $text; $this->title = $this->title . $this->titleSeparator . $append; } public function prependTitle($text) { $prepend = is_array($text) ? implode($this->titleSeparator, $text) : $text; $this->title = $prepend . $this->titleSeparator . $this->title; } public function getTitle() { return $this->title; } public function getKeywords() { return $this->keywords; } public function getDescription() { return $this->description; } public function getTitleSeparator() { return $this->titleSeparator; } }