Свойство | Type | Description | |
---|---|---|---|
$currentDir | |||
$paths |
Méthode | Description | |
---|---|---|
__construct ( string | array $paths = [] ) | Constructor. | |
import ( mixed $resource ) : |
Adds routes from a resource. |
Méthode | Description | |
---|---|---|
findFile ( $file ) | ||
getAbsolutePath ( $file, $currentPath = null ) | ||
isAbsolutePath ( $file ) |
public __construct ( string | array $paths = [] ) | ||
$paths | string | array | A path or an array of paths where to look for resources |