1 | <?php |
||
25 | class Bootstrap |
||
26 | { |
||
27 | /** |
||
28 | * @var callable |
||
29 | */ |
||
30 | protected $configLoader; |
||
31 | |||
32 | /** |
||
33 | * @var callable |
||
34 | */ |
||
35 | protected $diContainerFactory; |
||
36 | |||
37 | /** |
||
38 | * @var Config |
||
39 | */ |
||
40 | protected $config; |
||
41 | |||
42 | /** |
||
43 | * @var ContainerInterface |
||
44 | */ |
||
45 | protected $diContainer; |
||
46 | |||
47 | /** |
||
48 | * @var array |
||
49 | */ |
||
50 | protected static $diContainerFactories = [ |
||
51 | 'zend-service-manager' => ZendServiceManagerFactory::class, |
||
52 | 'aura-di' => AuraDiFactory::class, |
||
53 | 'pimple' => PimpleFactory::class, |
||
54 | ]; |
||
55 | |||
56 | public function __construct(callable $configLoader, callable $diContainerFactory) |
||
61 | |||
62 | public function __invoke() |
||
76 | |||
77 | protected function setPhpSettings() |
||
85 | |||
86 | protected function registerErrorHandler() |
||
94 | } |
||
95 |