public function processEntityCache(Nextras\Orm\Entity\IEntity $entity) { if ($entity instanceof Entity && $entity->isPersisted()) { $this->tags = array_merge($this->tags, $entity->getCacheTags(TRUE)); } }