1 | <?php |
||
13 | class JsLocalizationServiceProvider extends ServiceProvider { |
||
14 | |||
15 | /** |
||
16 | * Indicates if loading of the provider is deferred. |
||
17 | * |
||
18 | * @var bool |
||
19 | */ |
||
20 | protected $defer = false; |
||
21 | |||
22 | /** |
||
23 | * Bootstrap the application events. |
||
24 | * |
||
25 | * @return void |
||
26 | */ |
||
27 | 25 | public function boot() |
|
46 | |||
47 | /** |
||
48 | * Register the service provider. |
||
49 | * |
||
50 | * @return void |
||
51 | */ |
||
52 | 25 | public function register() |
|
57 | |||
58 | /** |
||
59 | * Get the services provided by the provider. |
||
60 | * |
||
61 | * @return array |
||
62 | */ |
||
63 | 25 | public function provides() |
|
67 | |||
68 | /** |
||
69 | * Register js-localization.refresh |
||
70 | */ |
||
71 | 25 | private function registerRefreshCommand() |
|
80 | |||
81 | /** |
||
82 | * Register js-localization.export |
||
83 | */ |
||
84 | 25 | private function registerExportCommand() |
|
93 | |||
94 | } |
||
95 |