public function DrupalPhaseControl::enterBootPhase in X Autoload 7.5
1 call to DrupalPhaseControl::enterBootPhase()
- DrupalPhaseControl::enterMainPhase in src/
Phases/ DrupalPhaseControl.php - Initiate the main phase.
File
- src/
Phases/ DrupalPhaseControl.php, line 81
Class
- DrupalPhaseControl
- Records events during a Drupal request, and forwards them to the registered observers after the first class loader cache miss.
Namespace
Drupal\xautoload\PhasesCode
public function enterBootPhase() {
if ($this->bootPhase) {
// We are already in the main phase. Nothing changes.
return;
}
$this->bootPhase = TRUE;
if (!$this->awake) {
// The entire thing is not initialized yet.
// Postpone until operateOnFinder()
return;
}
foreach ($this->observers as $observer) {
$observer
->enterBootPhase();
}
}