1 | <?php |
||
17 | class LodashServiceProvider extends ServiceProvider |
||
18 | { |
||
19 | protected $commands = [ |
||
20 | 'command.lodash.clear-all' => \Longman\LaravelLodash\Commands\ClearAll::class, |
||
21 | 'command.lodash.db.clear' => \Longman\LaravelLodash\Commands\DbClear::class, |
||
22 | 'command.lodash.db.dump' => \Longman\LaravelLodash\Commands\DbDump::class, |
||
23 | 'command.lodash.db.restore' => \Longman\LaravelLodash\Commands\DbRestore::class, |
||
24 | 'command.lodash.log.clear' => \Longman\LaravelLodash\Commands\LogClear::class, |
||
25 | 'command.lodash.user.add' => \Longman\LaravelLodash\Commands\UserAdd::class, |
||
26 | 'command.lodash.user.password' => \Longman\LaravelLodash\Commands\UserPassword::class, |
||
27 | ]; |
||
28 | |||
29 | 11 | public function boot(): void |
|
30 | { |
||
31 | 11 | $this->publishes([ |
|
32 | 11 | __DIR__ . '/../config/config.php' => config_path('lodash.php'), |
|
33 | ]); |
||
34 | |||
35 | 11 | $this->registerBladeDirectives(); |
|
36 | |||
37 | 11 | $this->loadTranslations(); |
|
38 | 11 | } |
|
39 | |||
40 | 11 | public function register(): void |
|
41 | { |
||
42 | 11 | $this->registerCommands(); |
|
43 | |||
44 | 11 | $this->registerRequestMacros(); |
|
45 | 11 | } |
|
46 | |||
47 | 11 | protected function registerCommands(): void |
|
55 | |||
56 | 11 | protected function registerBladeDirectives(): void |
|
74 | |||
75 | 11 | protected function registerRequestMacros(): void |
|
97 | |||
98 | 11 | protected function loadTranslations(): void |
|
99 | { |
||
106 | } |
||
107 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.