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