1 | <?php |
||
10 | class NovaTranslationServiceProvider extends BaseServiceProvider |
||
11 | { |
||
12 | /** |
||
13 | * Package ID. |
||
14 | * |
||
15 | * @var string |
||
16 | */ |
||
17 | const PACKAGE_ID = 'nova-translation'; |
||
18 | |||
19 | /** |
||
20 | * Bootstrap Kernel. |
||
21 | * |
||
22 | * @return void |
||
23 | */ |
||
24 | public function boot() |
||
38 | |||
39 | /** |
||
40 | * Boot Laravel package. |
||
41 | * |
||
42 | * @return void |
||
43 | */ |
||
44 | protected function bootPackage() |
||
54 | |||
55 | /** |
||
56 | * Check if Laravel Nova is installed. |
||
57 | * |
||
58 | * @return bool |
||
59 | */ |
||
60 | protected function isNovaInstalled() |
||
64 | |||
65 | /** |
||
66 | * Register the tool's routes. |
||
67 | * |
||
68 | * @return void |
||
69 | */ |
||
70 | protected function bootRoutes() |
||
87 | |||
88 | /** |
||
89 | * Serve Laravel Nova. |
||
90 | * |
||
91 | * @return void |
||
92 | */ |
||
93 | protected function serveNova() |
||
103 | |||
104 | /** |
||
105 | * Load prefixed Nova translations. |
||
106 | * |
||
107 | * @return void |
||
108 | */ |
||
109 | protected function loadNovaTranslations() |
||
123 | } |
||
124 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.