public function getFilesInFolder(\Google_Service_Drive_DriveFile $folder)
    {
        $query = 'trashed = false and \'' . $folder->getId() . '\' in parents';

        $fileList = $this->service->files->listFiles(array('q' => $query));

        return $fileList;

    }
public function getFilesInFolder(\Google_Service_Drive_DriveFile $folder)
    {
        $query = 'trashed = false and \'' . $folder->getId() . '\' in parents';

        $fileList = $this->service->files->listFiles(array('q' => $query));

        return $fileList;

    }
public function getFilesInFolder ( \ Google_Service_Drive_DriveFile $ folder ) { $ query = 'trashed = false and \'' . $ folder -> getId ( ) . '\' in parents' ; $ fileList = $ this -> service -> files -> listFiles ( array ( 'q' => $ query ) ) ; return $ fileList ; }
Get Files in a folder
@param \Google_Service_Drive_DriveFile $folder
@return \Google_Service_Drive_FileList
Get Files in a folder