You are here

public function FileLoader::__construct in Zircon Profile 8.0

Same name in this branch
  1. 8.0 vendor/symfony/dependency-injection/Loader/FileLoader.php \Symfony\Component\DependencyInjection\Loader\FileLoader::__construct()
  2. 8.0 vendor/symfony/validator/Mapping/Loader/FileLoader.php \Symfony\Component\Validator\Mapping\Loader\FileLoader::__construct()
  3. 8.0 vendor/symfony/serializer/Mapping/Loader/FileLoader.php \Symfony\Component\Serializer\Mapping\Loader\FileLoader::__construct()
Same name and namespace in other branches
  1. 8 vendor/symfony/dependency-injection/Loader/FileLoader.php \Symfony\Component\DependencyInjection\Loader\FileLoader::__construct()

Constructor.

Parameters

ContainerBuilder $container A ContainerBuilder instance:

FileLocatorInterface $locator A FileLocator instance:

File

vendor/symfony/dependency-injection/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);
}