1 | <?php |
||
22 | final class CoreBootloader extends Bootloader |
||
23 | { |
||
24 | const SINGLETONS = [ |
||
25 | FilesInterface::class => Files::class, |
||
26 | MemoryInterface::class => [self::class, 'memory'], |
||
27 | ConfiguratorInterface::class => [self::class, 'configFactory'], |
||
28 | ]; |
||
29 | |||
30 | /** |
||
31 | * @param DirectoriesInterface $directories |
||
32 | * @param FactoryInterface $factory |
||
33 | * @return ConfiguratorInterface |
||
34 | */ |
||
35 | protected function configFactory( |
||
41 | |||
42 | /** |
||
43 | * @param DirectoriesInterface $directories |
||
44 | * @param FilesInterface $files |
||
45 | * @return MemoryInterface |
||
46 | */ |
||
47 | protected function memory( |
||
53 | } |