Total Complexity | 6 |
Total Lines | 44 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | class RoutesServiceProvider extends AbstractSignatureServiceProvider implements BootableServiceProviderInterface |
||
13 | { |
||
14 | |||
15 | /** |
||
16 | * @inheritdoc |
||
17 | */ |
||
18 | public function register() |
||
19 | { |
||
20 | } |
||
21 | |||
22 | /** |
||
23 | * @inheritdoc |
||
24 | */ |
||
25 | public function boot() |
||
26 | { |
||
27 | if ($this->routesAreCached()) { |
||
28 | // Call get matcher to load the routes |
||
29 | // $this->getContainer()->get('router')->getMatcher(); |
||
30 | return; |
||
31 | } |
||
32 | |||
33 | $this->loadRoutes(); |
||
34 | } |
||
35 | |||
36 | public function loadRoutes() |
||
38 | } |
||
39 | |||
40 | /** |
||
41 | * Determine if the application routes are cached. |
||
42 | * |
||
43 | * @return bool |
||
44 | */ |
||
45 | protected function routesAreCached() |
||
48 | } |
||
49 | |||
50 | /** |
||
51 | * @inheritdoc |
||
52 | */ |
||
53 | public function provides() |
||
56 | } |
||
57 | } |
||
58 |