protected function folderDetails($path)
    {
        $path = '/'.ltrim($path, '/');

        return [
            'name'     => basename($path),
            'mimeType' => 'folder',
            'fullPath' => $path,
            'modified' => $this->fileModified($path),
        ];
    }
protected function folderDetails($path)
    {
        $path = '/'.ltrim($path, '/');

        return [
            'name'     => basename($path),
            'mimeType' => 'folder',
            'fullPath' => $path,
            'modified' => $this->fileModified($path),
        ];
    }
protected function folderDetails ( $ path ) { $ path = '/' . ltrim ( $ path , '/' ) ; return [ 'name' => basename ( $ path ) , 'mimeType' => 'folder' , 'fullPath' => $ path , 'modified' => $ this -> fileModified ( $ path ) , ] ; }
Return an array of folder details for a given folder.

@param $path

@return array
Return an array of folder details for a given folder .