File tree Expand file tree Collapse file tree 1 file changed +1
-19
lines changed Expand file tree Collapse file tree 1 file changed +1
-19
lines changed Original file line number Diff line number Diff line change @@ -68,11 +68,6 @@ class Services
6868 */
6969 private $ environment ;
7070
71- /**
72- * @var boolean $booted Загружена ли уже конструкция.
73- */
74- private static $ booted = false ;
75-
7671 /**
7772 * @var boolean $debug Режим отладки.
7873 */
@@ -113,10 +108,7 @@ public static function boot() : Container
113108 {
114109 $ self = new static ();
115110
116- if (!static ::$ booted ) {
117- $ self ->load ();
118- static ::setBoot (true );
119- }
111+ $ self ->load ();
120112
121113 return $ self ->getContainer ();
122114 }
@@ -132,16 +124,6 @@ public static function getInstance() : Container
132124 return static ::boot ();
133125 }
134126
135- /**
136- * @param boolean $booted
137- *
138- * @return void
139- */
140- public static function setBoot (bool $ booted ) : void
141- {
142- static ::$ booted = $ booted ;
143- }
144-
145127 /**
146128 * Загрузка всего хозяйства.
147129 *
You can’t perform that action at this time.
0 commit comments