You are here

public function YamlFileLoader::__construct in Service Container 7

Same name and namespace in other branches
  1. 7.2 lib/Drupal/Core/DependencyInjection/YamlFileLoader.php \Drupal\Core\DependencyInjection\YamlFileLoader::__construct()

File

lib/Drupal/Core/DependencyInjection/YamlFileLoader.php, line 50
Contains \Drupal\Core\DependencyInjection\YamlFileLoader.

Class

YamlFileLoader
YamlFileLoader loads YAML files service definitions.

Namespace

Drupal\Core\DependencyInjection

Code

public function __construct(ContainerBuilder $container) {
  $this->container = $container;
  $this->fileCache = FileCacheFactory::get('container_yaml_loader');
}