Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 1 |
1 | <?php |
||
30 | 2 | public function __construct(array $config, ContainerInterface $dependencyContainer = null) |
|
31 | { |
||
32 | 2 | $this->setDependencyContainer($dependencyContainer ?? new Container($config)); |
|
33 | 2 | $this->dependencyContainer->add('fuel.application', $this); |
|
34 | 2 | $this->dependencyContainer->addServiceProvider(new ApplicationServicesProvider()); |
|
35 | 2 | } |
|
36 | |||
48 |