| Total Complexity | 2 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Coverage | 81.82% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class ServiceProvider extends \Illuminate\Support\ServiceProvider |
||
| 8 | { |
||
| 9 | 6 | public function boot() |
|
| 10 | { |
||
| 11 | /* @deprecated - phpstorm not supports num regex */ |
||
| 12 | 6 | Blade::directive('i18nBatch', function ($expression) { |
|
| 13 | return "<?php echo i18n_strings_batch_json($expression); ?>"; |
||
| 14 | 6 | }); |
|
| 15 | |||
| 16 | 6 | Blade::directive('transBatch', function ($expression) { |
|
| 17 | return "<?php echo i18n_strings_batch_json($expression); ?>"; |
||
| 18 | 6 | }); |
|
| 19 | 6 | } |
|
| 20 | |||
| 21 | 6 | public function register() |
|
| 25 | 6 | }); |
|
| 26 | 6 | } |
|
| 28 |