1 | <?php |
||
11 | class AdminServiceProvider extends ServiceProvider |
||
12 | { |
||
13 | protected $commands = [ |
||
14 | \Sco\Admin\Commands\Install::class, |
||
15 | ]; |
||
16 | |||
17 | protected $middlewares = [ |
||
18 | 'auth.admin' => \Sco\Admin\Middleware\AdminAuthenticate::class, |
||
19 | 'guest.admin' => \Sco\Admin\Middleware\RedirectIfAuthenticated::class, |
||
20 | 'admin.menu' => \Sco\Admin\Middleware\AdminMenu::class, |
||
21 | ]; |
||
22 | |||
23 | public function getBasePath() |
||
27 | |||
28 | /** |
||
29 | * Bootstrap the application services. |
||
30 | * |
||
31 | * @return void |
||
32 | */ |
||
33 | public function boot() |
||
49 | |||
50 | /** |
||
51 | * Register the application services. |
||
52 | * |
||
53 | * @return void |
||
54 | */ |
||
55 | public function register() |
||
64 | |||
65 | protected function registerMiddleware() |
||
72 | |||
73 | protected function publishAdmin() |
||
80 | |||
81 | protected function publishAssets() |
||
87 | |||
88 | protected function publishConfig() |
||
95 | |||
96 | protected function publishViews() |
||
102 | |||
103 | protected function publishTranslations() |
||
109 | } |
||
110 |
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.