Jackalope\Transport\DoctrineDBAL\CachedClient::clearNodeCache PHP Method

clearNodeCache() private method

private clearNodeCache ( Node $node )
$node Jackalope\Node
    private function clearNodeCache(Node $node)
    {
        $cacheKey = "nodes: {$node->getPath()}, " . $this->workspaceName;
        $cacheKey = $this->sanitizeKey($cacheKey);
        $this->caches['nodes']->delete($cacheKey);
        // actually in the DBAL all nodes have a uuid ..
        if ($node->isNodeType('mix:referenceable')) {
            $uuid = $node->getIdentifier();
            $cacheKey = "nodes by uuid: {$uuid}, " . $this->workspaceName;
            $this->caches['nodes']->delete($cacheKey);
        }
    }