class FileLocator (View source)

Properties

protected $filesystem
protected $app
protected $locations

Methods

Filesystem
getFilesystem()

No description

setFilesystem(Filesystem $filesystem)

No description

__construct(Filesystem $filesystem, Application $app)

No description

addDefaultLocations()

No description

addLocation(LocationInterface $location)

No description

addPackageLocation($pkgHandle)

No description

getCacheKey($file)

No description

getAllRecords($file)

No description

getRecord($file)

No description

array
getLocations()

No description

Details

Filesystem getFilesystem()

Return Value

Filesystem

setFilesystem(Filesystem $filesystem)

Parameters

Filesystem $filesystem

__construct(Filesystem $filesystem, Application $app)

Parameters

Filesystem $filesystem
Application $app

addDefaultLocations()

addLocation(LocationInterface $location)

Parameters

LocationInterface $location

addPackageLocation($pkgHandle)

Parameters

$pkgHandle

protected getCacheKey($file)

Parameters

$file

getAllRecords($file)

Parameters

$file

Record getRecord($file)

Parameters

$file

Return Value

Record

array getLocations()

Return Value

array