Method | Description | |
---|---|---|
__construct ( string $entity, boolean $recursive ) | Construct the loader with the passed entity | |
load ( ) |
Method | Description | |
---|---|---|
createRegexIterator ( FilesystemIterator | RecursiveIteratorIterator $files ) : RegexIterator | Returns the supported files in the directory | |
getSupportedFiles ( ) : RegexIterator | Returns the supported files in the directory | |
getSupportedFilesRecursively ( ) : RegexIterator | Returns the supported files in the directory recursively | |
makeResources ( array $paths ) : array | boolean | Makes usable resource paths from path strings |
public __construct ( string $entity, boolean $recursive ) | ||
$entity | string | The passed entity |
$recursive | boolean | Search the directories recursively |