1 | <?php |
||
8 | abstract class RouteServiceProvider extends ServiceProvider |
||
9 | { |
||
10 | /** |
||
11 | * Bootstrap any application services. |
||
12 | * |
||
13 | * @param \Illuminate\Routing\Router $router |
||
14 | * @return void |
||
15 | */ |
||
16 | public function boot(Router $router) |
||
20 | |||
21 | /** |
||
22 | * Define the routes for the addon. |
||
23 | * |
||
24 | * @param \Illuminate\Routing\Router $router (injection) |
||
25 | * @return void |
||
26 | */ |
||
27 | public function map(Router $router) |
||
49 | |||
50 | /** |
||
51 | * Get addon. |
||
52 | * |
||
53 | * @return \Jumilla\Addomnipot\Laravel\Addon |
||
54 | */ |
||
55 | abstract protected function addon(); |
||
56 | |||
57 | /** |
||
58 | * Register the service provider. |
||
59 | * |
||
60 | * @return void |
||
61 | */ |
||
62 | public function register() |
||
66 | |||
67 | /** |
||
68 | * Pass dynamic methods onto the router instance. |
||
69 | * |
||
70 | * @param string $method |
||
71 | * @param array $parameters |
||
72 | * @return mixed |
||
73 | */ |
||
74 | public function __call($method, $parameters) |
||
78 | } |
||
79 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.