AppserverIo\Appserver\Core\Utilities\AppEnvironmentHelper::globDir PHP Method

globDir() protected static method

Parses and returns the directories and files that matches the passed glob pattern in a recursive way (if wanted).
protected 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
    protected static function globDir($pattern, $flags = 0, $recursive = true)
    {
        return FileSystem::globDir($pattern, $flags, $recursive);
    }