Свойство | Type | Description | |
---|---|---|---|
$files | array | List of loaded files. | |
$paths | array | List of registered paths. |
Méthode | Description | |
---|---|---|
__construct ( array $paths = [] ) | Loader constructor. | |
add ( array $paths ) : Themosis\Load\ILoader | Add paths to directories where to load files. | |
getFiles ( ) : array | Return a list of loaded files. | |
load ( ) | Load the files. |
Méthode | Description | |
---|---|---|
append ( string $path ) : boolean | Scan the directory at the given path and include all files. Only 1 level iteration. |
public __construct ( array $paths = [] ) | ||
$paths | array | Paths to look at (optional). |