1 | <?php |
||
10 | class ServiceProvider extends IlluminateServiceProvider |
||
11 | { |
||
12 | /** |
||
13 | * Register the service provider. |
||
14 | * |
||
15 | * @return void |
||
16 | */ |
||
17 | public function register() |
||
25 | |||
26 | public function boot() |
||
32 | |||
33 | /** |
||
34 | * Helper method to quickly setup middleware. |
||
35 | * |
||
36 | * @param string $alias |
||
37 | * @param string $class |
||
38 | */ |
||
39 | protected function registerMiddleware($alias, $class) |
||
40 | { |
||
41 | $router = $this->app['router']; |
||
42 | |||
43 | $method = method_exists($router, 'aliasMiddleware') ? 'aliasMiddleware' : 'middleware'; |
||
44 | |||
45 | $router->$method($alias, $class); |
||
46 | } |
||
47 | |||
48 | /** |
||
49 | * Register the Artisan command. |
||
50 | */ |
||
51 | protected function registerJWTCommand() |
||
57 | |||
58 | /** |
||
59 | * Register a resolver for the authenticated user. |
||
60 | * |
||
61 | * @return void |
||
62 | */ |
||
63 | protected function registerRequestRebindHandler() |
||
71 | } |
||
72 |
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.