class FileLocator extends FileLocator
FileLocator uses the KernelInterface to locate resources in bundles.
__construct(KernelInterface $kernel, null|string $path = null, array $paths = array()) Constructor. | ||
string|array | locate($file, string|null $currentPath = null, bool $first = true) Returns a full path for a given file name. |
Constructor.
Returns a full path for a given file name.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.8/Symfony/Component/HttpKernel/Config/FileLocator.html