Ejemplo n.º 1
0
Archivo: Model.php Proyecto: ytnuk/orm
 public function processEntityCache(Nextras\Orm\Entity\IEntity $entity)
 {
     if ($entity instanceof Entity && $entity->isPersisted()) {
         $this->tags = array_merge($this->tags, $entity->getCacheTags(TRUE));
     }
 }