public function getAuthor() { $authors = $this->getAuthors(); if (empty($authors)) { return null; } return array_shift($authors); }