PHP Interface Nelmio\Alice\FileLocatorInterface

Show file Open project: nelmio/alice Interface Usage Examples

Public Methods

Method Description
locate ( string $name, string $currentPath = null ) : string

Method Details

locate() public method

public locate ( string $name, string $currentPath = null ) : string
$name string Name of the file to locate
$currentPath string Path in which the file can be found
return string The full path to the file