Parses and returns the directories and files that matches
the passed glob pattern in a recursive way (if wanted).
public static globDir ( string $pattern, integer $flags, boolean $recursive = true ) : array | ||
$pattern | string | The glob pattern used to parse the directories |
$flags | integer | The flags passed to the glob function |
$recursive | boolean | Whether or not to parse directories recursively |
return | array | The directories matches the passed glob pattern |