You are here

public function DrupalPhaseControl::__construct in X Autoload 7.5

Parameters

DrupalSystemInterface $system:

PhaseObserverInterface[] $observers:

File

src/Phases/DrupalPhaseControl.php, line 53

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\Phases

Code

public function __construct(DrupalSystemInterface $system, array $observers) {
  $this->system = $system;
  $this->observers = $observers;
}