1 | <?php |
||
10 | class AdminServiceProvider extends ServiceProvider |
||
11 | { |
||
12 | protected $commands = [ |
||
13 | \Sco\Admin\Commands\Install::class, |
||
14 | ]; |
||
15 | |||
16 | protected $middlewares = [ |
||
17 | 'auth.admin' => \Sco\Admin\Http\Middleware\AdminAuthenticate::class, |
||
18 | 'guest.admin' => \Sco\Admin\Http\Middleware\RedirectIfAuthenticated::class, |
||
19 | 'admin.menu' => \Sco\Admin\Http\Middleware\AdminMenu::class, |
||
20 | ]; |
||
21 | |||
22 | public function getBasePath() |
||
26 | |||
27 | /** |
||
28 | * Bootstrap the application services. |
||
29 | * |
||
30 | * @return void |
||
31 | */ |
||
32 | public function boot() |
||
49 | |||
50 | /** |
||
51 | * Register the application services. |
||
52 | * |
||
53 | * @return void |
||
54 | */ |
||
55 | public function register() |
||
61 | |||
62 | |||
63 | protected function loadRoutes() |
||
72 | |||
73 | protected function registerMiddleware() |
||
80 | |||
81 | protected function publishAdmin() |
||
89 | |||
90 | protected function publishAssets() |
||
96 | |||
97 | protected function publishConfig() |
||
104 | |||
105 | protected function publishViews() |
||
111 | |||
112 | protected function publishTranslations() |
||
118 | |||
119 | protected function publishRoutes() |
||
125 | } |
||
126 |
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.