abstract class FileLoader in Service Container 7.2
Same name and namespace in other branches
- 7 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/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 modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Tests/ CrossCheckTest.php - @dataProvider crossCheckLoadersDumpers
File
- modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Loader/ FileLoader.php, line 23
Namespace
Symfony\Component\DependencyInjection\LoaderView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FileLoader:: |
protected | property | ||
FileLoader:: |
public | function | Constructor. |