Skip to content

Commit 78f8d63

Browse files
authored
Update Translate.php
1 parent 9af543b commit 78f8d63

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Eloquent/Translate.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,14 @@ public function get()
7070

7171
return (string) array_values($this->translations)[0];
7272
}
73+
74+
/**
75+
* @return array
76+
*/
77+
public function all()
78+
{
79+
return $this->translations;
80+
}
7381

7482
/**
7583
* @param string $locale

0 commit comments

Comments
 (0)