Skip to content

Commit

Permalink
#16
Browse files Browse the repository at this point in the history
  • Loading branch information
uyab committed Apr 25, 2016
1 parent 8793b97 commit 7451654
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Avatar.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,13 @@ public function getInitial()
return $this->initials;
}

public function getImageObject()
{
$this->buildAvatar();

return $this->image;
}

protected function getRandomBackground()
{
if (strlen($this->initials) == 0) {
Expand Down

0 comments on commit 7451654

Please sign in to comment.