프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$currentDir | |||
$paths |
메소드 | 설명 | |
---|---|---|
__construct ( string | array $paths = [] ) | Constructor. | |
import ( mixed $resource ) : |
Adds routes from a resource. |
메소드 | 설명 | |
---|---|---|
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 |