1 | <?php |
||
13 | class RouteServiceProvider extends AbstractServiceProvider |
||
14 | { |
||
15 | protected $provides = [ |
||
16 | 'request', |
||
17 | 'response', |
||
18 | 'emitter', |
||
19 | 'router', |
||
20 | ]; |
||
21 | |||
22 | private $prefix; |
||
23 | |||
24 | public function __construct(string $prefix) |
||
28 | |||
29 | /** |
||
30 | * Use the register method to register items with the container via the |
||
31 | * protected $this->container property or the `getContainer` method |
||
32 | * from the ContainerAwareTrait. |
||
33 | * |
||
34 | * @return void |
||
35 | */ |
||
36 | public function register(): void |
||
61 | |||
62 | private function buildPath(string $path): string |
||
70 | } |
||
71 |