function YamlFileLoader::__construct
Same name in other branches
- 8.9.x core/lib/Drupal/Core/DependencyInjection/YamlFileLoader.php \Drupal\Core\DependencyInjection\YamlFileLoader::__construct()
- 10 core/lib/Drupal/Core/DependencyInjection/YamlFileLoader.php \Drupal\Core\DependencyInjection\YamlFileLoader::__construct()
- 11.x core/lib/Drupal/Core/DependencyInjection/YamlFileLoader.php \Drupal\Core\DependencyInjection\YamlFileLoader::__construct()
File
-
core/
lib/ Drupal/ Core/ DependencyInjection/ YamlFileLoader.php, line 52
Class
- YamlFileLoader
- YamlFileLoader loads YAML files service definitions.
Namespace
Drupal\Core\DependencyInjectionCode
public function __construct(ContainerBuilder $container) {
$this->container = $container;
$this->fileCache = FileCacheFactory::get('container_yaml_loader');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.