public function addAuthorDetail(Author $author) { $this->authorDetails->add($author); return $this; }