You are here

public function FileLoader::__construct in Service Container 7

Same name and namespace in other branches
  1. 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Loader/FileLoader.php \Symfony\Component\DependencyInjection\Loader\FileLoader::__construct()

Constructor.

Parameters

ContainerBuilder $container A ContainerBuilder instance:

FileLocatorInterface $locator A FileLocator instance:

File

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Loader/FileLoader.php, line 33

Class

FileLoader
FileLoader is the abstract class used by all built-in loaders that are file based.

Namespace

Symfony\Component\DependencyInjection\Loader

Code

public function __construct(ContainerBuilder $container, FileLocatorInterface $locator) {
  $this->container = $container;
  parent::__construct($locator);
}