$_mimeTypes
$_mimeTypes :
File system path util
recursiveGlob(string $path, string $cleanPath = '', boolean $returnFileName = false) : array<mixed,string>|array<mixed,\stdClass>
Collects files by a recursive Pattern
Note: For the examples i used ! for slash to prevent comment parsing by php
Format Example:
Fuman_Util_File::recursiveGlob(FUMAN_APP_PATH . '*!theme!*!css!*.css');
Its also possible to clean the file path, to prevent long file paths:
Fuman_Util_File::recursiveGlob(FUMAN_APP_PATH . '*!theme!*!css!*.css', FUMAN_ROOT_PATH);
string | $path | Glob Path to be searched |
string | $cleanPath | Path with which the found paths will be cleaned |
boolean | $returnFileName | If true, the result will be a object with name and path properties |
Depends on the $returnFileName param