PHP Interface Themosis\Finder\IFinder

Show file Open project: themosis/framework

Public Methods

Method Description
addPaths ( array $paths ) : mixed Register a list of paths.
find ( string $name ) : string Returns a file path.
getFiles ( ) : array Return a list of found files.
getPaths ( ) : array Return a list of registered paths.

Method Details

addPaths() public method

Register a list of paths.
public addPaths ( array $paths ) : mixed
$paths array
return mixed

find() public method

Returns a file path.
public find ( string $name ) : string
$name string
return string

getFiles() public method

Return a list of found files.
public getFiles ( ) : array
return array

getPaths() public method

Return a list of registered paths.
public getPaths ( ) : array
return array