/** * search for files by mimetype * * @param string $mimetype * @return ICacheEntry[] */ public function searchByMime($mimetype) { $results = $this->cache->searchByMime($mimetype); return array_map(array($this, 'formatCacheEntry'), $results); }