/** * @param array $criteria * @param array|null $orderBy * @param int $limit * @param int $offset * * @return object[] */ public function findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) { $this->cache->setNamespace($this->className); return $this->cache->fetchByTags($criteria); }