Dir::index()
Read the directory and all subdirectories
Dir::index(string $dir, bool $recursive = false, array $ignore = null, string $path = null): array
Parameters
| Name | Type | Default |
|---|---|---|
| $dir * | string |
– |
| $recursive | bool |
false |
| $ignore | array |
null |
| $path | string |
null |
Return type
array