Exemplo n.º 1
0
 public function getPrimaryAuthor()
 {
     $author = $this->getMainAuthorEntry();
     if (!$author || !is_array($author)) {
         return parent::getPrimaryAuthor();
     }
     return $author['name'];
 }