NextDom\Helpers\Samba::getFiles
Get files list in folder
Signature
public function getFiles([string
$path = '/',
[string
$sort = SAMBA_SORT_BY_TIME,
[string
$order = SAMBA_SORT_ASC_ORDER]]] )
Parameters
$path
— string- Folder path
$sort
— string- Sort method (mtime, size or name)
$order
— string- Order (asc or desc)
Returns
- array
- Folder content