You are here

abstract class FileLoader in Zircon Profile 8

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

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

@author Fabien Potencier <fabien@symfony.com>

Hierarchy

  • class \Symfony\Component\DependencyInjection\Loader\FileLoader extends \Symfony\Component\Config\Loader\FileLoader

Expanded class hierarchy of FileLoader

1 string reference to 'FileLoader'
CrossCheckTest::testCrossCheck in vendor/symfony/dependency-injection/Tests/CrossCheckTest.php
@dataProvider crossCheckLoadersDumpers

File

vendor/symfony/dependency-injection/Loader/FileLoader.php, line 23

Namespace

Symfony\Component\DependencyInjection\Loader
View source
abstract class FileLoader extends BaseFileLoader {
  protected $container;

  /**
   * Constructor.
   *
   * @param ContainerBuilder     $container A ContainerBuilder instance
   * @param FileLocatorInterface $locator   A FileLocator instance
   */
  public function __construct(ContainerBuilder $container, FileLocatorInterface $locator) {
    $this->container = $container;
    parent::__construct($locator);
  }

}

Members

Namesort descending Modifiers Type Description Overrides
FileLoader::$container protected property
FileLoader::__construct public function Constructor.