NextDom\Helpers\FileSystemHelper::ls
Get content list of a folder
Signature
public function ls([string
$folder = "",
[string
$pattern = "*",
[boolean
$recursivly = false,
[array
$options = ]]]] )
Parameters
$folder
— string- Folder to list
$pattern
— string- Pattern for filtering (*.php, *test*, etc.)
$recursivly
— boolean- List all files/folders in subfolders
$options
— array- Limit files or folders
Returns
- array
- Content list