/** * @return Doctrine\Common\Cache\Cache */ public function createServiceAnnotations__cache__annotations() { $service = new Kdyby\DoctrineCache\Cache($this->getService('cacheStorage'), 'Doctrine.Annotations', FALSE); if (!$service instanceof Doctrine\Common\Cache\Cache) { throw new Nette\UnexpectedValueException('Unable to create service \'annotations.cache.annotations\', value returned by factory is not Doctrine\\Common\\Cache\\Cache type.'); } $service->setNamespace('Kdyby_annotations.cache.annotations_16ad1128'); return $service; }
/** * @return Doctrine\Common\Cache\Cache */ public function createServiceDoctrine__cache__default__query() { $service = new Kdyby\DoctrineCache\Cache($this->getService('cache.storage'), 'Doctrine.Default.query', FALSE); $service->setNamespace('Kdyby_doctrine.cache.default.query_80657906'); return $service; }