public listFolder ( string $path, string | array $filter = null, boolean $dotfiles = true, boolean $dironly = false, boolean $recursive = false ) : array | ||
$path | string | The path of the directory. |
$filter | string | array | Regular expression(s) to filter file/directory name on. |
$dotfiles | boolean | Show dotfiles? |
$dironly | boolean | Show only directories? |
$recursive | boolean | Return all directory levels recursively? |
Результат | array | File list. |