FileLocator
class FileLocator implements FileLocatorInterface
FileLocator uses an array of pre-defined paths to find files.
Methods
__construct(string|array $paths = array())
Constructor.
string|array
locate(string $name, string|null $currentPath = null, bool $first = true)
Returns a full path for a given file name.
Details
at line line 28
__construct(string|array $paths = array())
Constructor.
at line line 36
string|array
locate(string $name, string|null $currentPath = null, bool $first = true)
Returns a full path for a given file name.