public function getEntityTag(string $id, EntityDefinition $definition): string
    {
        $keys = [$definition->getEntityName(), $id];

        return implode('-', $keys);
    }
public function getEntityTag(string $id, EntityDefinition $definition): string
    {
        $keys = [$definition->getEntityName(), $id];

        return implode('-', $keys);
    }
public function getEntityTag ( string $ id , EntityDefinition $ definition ) : string { $ keys = [ $ definition -> getEntityName ( ) , $ id ] ; return implode ( '-' , $ keys ) ; }
Defines the tag for a single entity. Used for invalidation if this entity is written
Defines the tag for a single entity . Used for invalidation if this entity is written