public function getTitle() { // not set so return null if (!isset($this->data['title'])) { return; } // return value return $this->data['title']; }