| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 39 | 3 | public function register(WritableInterface $container) |
|
| 40 | { |
||
| 41 | 3 | $configuration = $container->get(ProviderInterface::CONFIG); |
|
| 42 | |||
| 43 | 3 | $kernel = new ZapheusKernel($this->bundles, $configuration); |
|
| 44 | |||
| 45 | 3 | $kernel->boot(); |
|
| 46 | |||
| 47 | 3 | $result = $kernel->getContainer(); |
|
| 48 | |||
| 49 | 3 | return $container->set(self::CONTAINER, $result); |
|
| 50 | } |
||
| 52 |