1 | <?php declare(strict_types = 1); |
||
10 | class TestKernel extends Kernel |
||
11 | { |
||
12 | /** @var string[] */ |
||
13 | private $bundlesToRegister = []; |
||
14 | /** @var ConfigFile[] */ |
||
15 | private $configFilesToAdd = []; |
||
16 | |||
17 | /** |
||
18 | * @param string[] $classNames |
||
19 | */ |
||
20 | public function addBundleClasses(array $classNames): void |
||
26 | |||
27 | public function addBundleClass(string $className): void |
||
31 | |||
32 | /** |
||
33 | * @param ConfigFile[] $configFiles |
||
34 | */ |
||
35 | public function addConfigFiles(array $configFiles): void |
||
41 | |||
42 | public function addConfigFile(ConfigFile $configFile): void |
||
46 | |||
47 | /** |
||
48 | * Returns an array of bundles to register. |
||
49 | * @return BundleInterface[] An array of bundle instances |
||
50 | */ |
||
51 | public function registerBundles() |
||
61 | |||
62 | /** |
||
63 | * Loads the container configuration. |
||
64 | * |
||
65 | * @param LoaderInterface $loader A LoaderInterface instance |
||
66 | */ |
||
67 | public function registerContainerConfiguration(LoaderInterface $loader) |
||
74 | } |
||
75 |