| 1 | <?php namespace Modules\Translation\Services; |
||
| 6 | class Translator extends \Illuminate\Translation\Translator |
||
| 7 | { |
||
| 8 | use DispatchesJobs; |
||
| 9 | /** |
||
| 10 | * Get the translation for the given key. |
||
| 11 | * |
||
| 12 | * @param string $key |
||
| 13 | * @param array $replace |
||
| 14 | * @param string $locale |
||
| 15 | * @param bool $fallback |
||
| 16 | * @return string |
||
| 17 | */ |
||
| 18 | public function get($key, array $replace = [], $locale = null, $fallback = true) |
||
| 27 | } |
||
| 28 |