1 | <?php |
||
12 | class MiddlewareSetupRunner implements MiddlewareSetupRunnerInterface |
||
13 | { |
||
14 | /** @var Application */ |
||
15 | protected $application; |
||
16 | |||
17 | /** @var MiddlewareFactory */ |
||
18 | protected $factory; |
||
19 | |||
20 | /** @var ContainerInterface */ |
||
21 | protected $container; |
||
22 | |||
23 | protected $pipelineFile = __DIR__ . '/../../../../../config/pipeline.php'; |
||
24 | |||
25 | protected $routeFile = __DIR__ . '/../../../../../config/routes.php'; |
||
26 | |||
27 | 7 | public function __construct( |
|
36 | |||
37 | /** |
||
38 | * @return bool |
||
39 | * @throws MissingPipeLineException |
||
40 | * @throws MissingRoutesException |
||
41 | */ |
||
42 | 1 | public function execute() : bool |
|
67 | |||
68 | 2 | public function getPipeline() |
|
76 | |||
77 | 2 | public function getRoutes() |
|
85 | |||
86 | /** |
||
87 | * @param $path |
||
88 | * @throws MissingPipeLineException |
||
89 | */ |
||
90 | 3 | public function setPipelineFilePath($path) |
|
98 | |||
99 | /** |
||
100 | * @param $path |
||
101 | * @throws MissingRoutesException |
||
102 | */ |
||
103 | 3 | public function setRoutesFilePath($path) |
|
111 | } |
||
112 |