Skip to content

Commit

Permalink
Update Translate.php
Browse files Browse the repository at this point in the history
  • Loading branch information
grinry authored Feb 15, 2017
1 parent 9af543b commit 78f8d63
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Eloquent/Translate.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,14 @@ public function get()

return (string) array_values($this->translations)[0];
}

/**
* @return array
*/
public function all()
{
return $this->translations;
}

/**
* @param string $locale
Expand Down

0 comments on commit 78f8d63

Please sign in to comment.