1 | <?php |
||
25 | class BootstrapDependencyInjectionContainer |
||
26 | { |
||
27 | |||
28 | /** |
||
29 | * @var EE_Dependency_Map $dependency_map |
||
30 | */ |
||
31 | protected $dependency_map; |
||
32 | |||
33 | /** |
||
34 | * @type LoaderInterface $loader |
||
35 | */ |
||
36 | protected $loader; |
||
37 | |||
38 | /** |
||
39 | * @var EE_Registry $registry |
||
40 | */ |
||
41 | protected $registry; |
||
42 | |||
43 | /** |
||
44 | * @var ClassInterfaceCache $class_cache |
||
45 | */ |
||
46 | private $class_cache; |
||
47 | |||
48 | /** |
||
49 | * @var Mirror |
||
50 | */ |
||
51 | private $mirror; |
||
52 | |||
53 | /** |
||
54 | * @var ObjectIdentifier |
||
55 | */ |
||
56 | private $object_identifier; |
||
57 | |||
58 | |||
59 | /** |
||
60 | * Can't use this just yet until we exorcise some more of our singleton usage from core |
||
61 | */ |
||
62 | public function buildDependencyInjectionContainer() |
||
69 | |||
70 | |||
71 | /** |
||
72 | * Setups EE_Registry and EE_Dependency_Map |
||
73 | * |
||
74 | * @throws EE_Error |
||
75 | */ |
||
76 | public function buildLegacyDependencyInjectionContainer() |
||
99 | |||
100 | |||
101 | /** |
||
102 | * Performs initial setup for the generic Loader |
||
103 | * |
||
104 | * @throws InvalidDataTypeException |
||
105 | * @throws InvalidInterfaceException |
||
106 | * @throws InvalidArgumentException |
||
107 | */ |
||
108 | public function buildLoader() |
||
120 | |||
121 | |||
122 | /** |
||
123 | * @return EE_Dependency_Map |
||
124 | */ |
||
125 | public function getDependencyMap() |
||
129 | |||
130 | |||
131 | /** |
||
132 | * @return EE_Registry |
||
133 | */ |
||
134 | public function getRegistry() |
||
138 | |||
139 | |||
140 | /** |
||
141 | * @return LoaderInterface |
||
142 | */ |
||
143 | public function getLoader() |
||
147 | } |
||
148 |