Total Complexity | 2 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | class ApplicationFactoryStub extends ApplicationFactory |
||
13 | { |
||
14 | /** |
||
15 | * Instantiate the class. |
||
16 | * |
||
17 | * @param Application $app |
||
18 | */ |
||
19 | 13 | public function __construct(protected Application $app) |
|
20 | { |
||
21 | 13 | parent::__construct($app->basePath()); |
|
22 | 13 | } |
|
23 | |||
24 | /** |
||
25 | * Create a new application instance. |
||
26 | * |
||
27 | * @param array $initialInstances |
||
28 | * @return Application |
||
29 | */ |
||
30 | 13 | public function createApplication(array $initialInstances = []): Application |
|
33 | } |
||
34 | } |
||
35 |