public function FileLocator::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/Config/FileLocator.php \Symfony\Component\HttpKernel\Config\FileLocator::__construct()
Constructor.
Parameters
KernelInterface $kernel A KernelInterface instance:
null|string $path The path the global resource directory:
array $paths An array of paths where to look for resources:
File
- vendor/
symfony/ http-kernel/ Config/ FileLocator.php, line 34
Class
- FileLocator
- FileLocator uses the KernelInterface to locate resources in bundles.
Namespace
Symfony\Component\HttpKernel\ConfigCode
public function __construct(KernelInterface $kernel, $path = null, array $paths = array()) {
$this->kernel = $kernel;
if (null !== $path) {
$this->path = $path;
$paths[] = $path;
}
parent::__construct($paths);
}