You are here

private function YamlDefinitionsLoader::__construct in Hook Event Dispatcher 3.x

Same name and namespace in other branches
  1. 8.2 modules/preprocess_event_dispatcher/tests/src/Unit/Helpers/YamlDefinitionsLoader.php \Drupal\Tests\preprocess_event_dispatcher\Unit\Helpers\YamlDefinitionsLoader::__construct()

YamlDefinitionsLoader constructor.

File

modules/preprocess_event_dispatcher/tests/src/Unit/Helpers/YamlDefinitionsLoader.php, line 47

Class

YamlDefinitionsLoader
Class YamlDefinitionsLoader.

Namespace

Drupal\Tests\preprocess_event_dispatcher\Unit\Helpers

Code

private function __construct() {
  $this
    ->loadDefinitionsFromServicesYaml();
  $this
    ->setUpFactoriesMapper();
}