1 | <?php |
||
7 | class TranslatableAttributeProvider extends Base |
||
8 | { |
||
9 | /** |
||
10 | * Execute a closure for every locale of the application. |
||
11 | * |
||
12 | * @param \Closure $callable |
||
13 | * @param array $locales |
||
14 | * @return array |
||
15 | */ |
||
16 | public function translatable(Closure $callable, array $locales = null): array |
||
33 | |||
34 | /** |
||
35 | * Generate a name for every locale of the application. |
||
36 | * |
||
37 | * @param array $locales |
||
38 | * @return array |
||
39 | */ |
||
40 | public function translatableName(array $locales = null): array |
||
46 | } |
||
47 |