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() |
||
47 | |||
48 | /** |
||
49 | * Register the application services. |
||
50 | * |
||
51 | * @return void |
||
52 | */ |
||
53 | public function register() |
||
61 | |||
62 | protected function registerMiddleware() |
||
69 | |||
70 | protected function publishAdmin() |
||
76 | |||
77 | protected function publishConfig() |
||
84 | |||
85 | protected function publishViews() |
||
91 | |||
92 | protected function publishTranslations() |
||
98 | } |
||
99 |
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.