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() |
||
80 | |||
81 | /** |
||
82 | * Check if app uses Lumen. |
||
83 | * |
||
84 | * @return bool |
||
85 | */ |
||
86 | private function isLumen() |
||
90 | |||
91 | /** |
||
92 | * Register 3rd party providers. |
||
93 | */ |
||
94 | private function registerRequiredProviders() |
||
99 | |||
100 | /** |
||
101 | * Create aliases for the dependency. |
||
102 | */ |
||
103 | private function registerAliases() |
||
110 | |||
111 | /** |
||
112 | * Get the services provided by the provider. |
||
113 | * |
||
114 | * @return string[] |
||
115 | */ |
||
116 | public function provides() |
||
120 | } |
||
121 |