Skip to content

Commit

Permalink
refs #341
Browse files Browse the repository at this point in the history
  • Loading branch information
Athanasios Koumpouras committed Nov 22, 2018
1 parent 13a1e06 commit 9f0961c
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/Entity/Author.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,22 @@ protected function isValid(array $array)
return isset($array['_id'], $array['name'], $array['books']);
}

/**
* @return string
*
*/
public function getProfileImage() {
return $this->safeGet('profileImage', '');
}

/**
* @return string
*/
public function getCountry()
{
return $this->safeGet('country', '');
}

/**
* @return string UUID of entity
*/
Expand Down

0 comments on commit 9f0961c

Please sign in to comment.