FileLocator
class FileLocator extends FileLocator
FileLocator uses the KernelInterface to locate resources in bundles.
Properties
protected | $paths | from FileLocator |
Methods
__construct(KernelInterface $kernel, string $path = null, string|string[] $paths = array())
No description
string|array
locate($file, string|null $currentPath = null, bool $first = true)
Returns a full path for a given file name.