Beispiel #1
0
 /**
  * @param object $object
  *
  * @return bool
  */
 public function remove($object)
 {
     $className = get_class($object);
     $this->cache->setNamespace($className);
     $tags = $object->getTags();
     $id = $this->getRepository($className)->getId($tags);
     return $this->cache->delete($id);
 }