Dir::index()
Read the directory and all subdirectories
Parameters
Name | Type | Default |
---|---|---|
$dir * | string |
– |
$recursive | bool |
false |
$ignore | array |
null |
$path | string |
null |
Return type
array
Parent class
Kirby\Cms\Dir
inherited from Kirby\Toolkit\Dir