1 | <?php |
||
11 | class DatatablesServiceProvider extends ServiceProvider |
||
12 | { |
||
13 | /** |
||
14 | * Indicates if loading of the provider is deferred. |
||
15 | * |
||
16 | * @var bool |
||
17 | */ |
||
18 | protected $defer = false; |
||
19 | |||
20 | /** |
||
21 | * Bootstrap the application events. |
||
22 | * |
||
23 | * @return void |
||
24 | */ |
||
25 | public function boot() |
||
33 | |||
34 | /** |
||
35 | * Publish datatables assets. |
||
36 | */ |
||
37 | private function publishAssets() |
||
51 | |||
52 | /** |
||
53 | * Register datatables commands. |
||
54 | */ |
||
55 | private function registerCommands() |
||
60 | |||
61 | /** |
||
62 | * Register the service provider. |
||
63 | * |
||
64 | * @return void |
||
65 | */ |
||
66 | public function register() |
||
76 | |||
77 | /** |
||
78 | * Register 3rd party providers. |
||
79 | */ |
||
80 | private function registerRequiredProviders() |
||
85 | |||
86 | /** |
||
87 | * Create aliases for the dependency. |
||
88 | */ |
||
89 | private function registerAliases() |
||
94 | |||
95 | /** |
||
96 | * Get the services provided by the provider. |
||
97 | * |
||
98 | * @return string[] |
||
99 | */ |
||
100 | public function provides() |
||
104 | } |
||
105 |