protected function invalidateCache(UnitOfWork $uow, $object)
    {
        if ($this->isCacheableObject($object)) {
            return $this->invalidateCacheableObject($uow, $object);
        }

        if ($object instanceof PersistentCollection && $this->isRequireAssociation($object->getMapping())) {
            return $this->getPrefix($object->getOwner());
        }

        return false;
    }