1 | <?php |
||
17 | class Kernel extends HttpKernel |
||
18 | { |
||
19 | /** |
||
20 | * @var \Zapheus\Provider\ConfigurationInterface |
||
21 | */ |
||
22 | protected $configuration; |
||
23 | |||
24 | /** |
||
25 | * @var \Symfony\Component\HttpKernel\Bundle\BundleInterface[] |
||
26 | */ |
||
27 | protected $items = array(); |
||
28 | |||
29 | /** |
||
30 | * Initializes the kernel instance. |
||
31 | * |
||
32 | * @param \Symfony\Component\HttpKernel\Bundle\BundleInterface[] $bundles |
||
33 | * @param \Zapheus\Provider\ConfigurationInterface $configuration |
||
34 | */ |
||
35 | 3 | public function __construct(array $bundles, ConfigurationInterface $configuration) |
|
55 | |||
56 | /** |
||
57 | * Returns an array of bundles to register. |
||
58 | * |
||
59 | * @return \Symfony\Component\HttpKernel\Bundle\BundleInterface[] |
||
60 | */ |
||
61 | 3 | public function registerBundles() |
|
65 | |||
66 | /** |
||
67 | * Loads the container configuration. |
||
68 | * |
||
69 | * @param \Symfony\Component\Config\Loader\LoaderInterface $loader |
||
70 | * @return void |
||
71 | */ |
||
72 | 3 | public function registerContainerConfiguration(LoaderInterface $loader) |
|
86 | |||
87 | /** |
||
88 | * Returns an array of default kernel parameters. |
||
89 | * |
||
90 | * @param array $config |
||
91 | * @return array |
||
92 | */ |
||
93 | 3 | protected function defaults(array $config) |
|
111 | } |
||
112 |