protected function performNodeRemove($absPath, NodeInterface $node, $sessionOperation = true, $cascading = false)
{
if (!$sessionOperation && !$cascading) {
$this->transport->deleteNodeImmediately($absPath);
}
unset($this->objectsByUuid[$node->getIdentifier()], $this->objectsByPath['Node'][$absPath]);
if ($sessionOperation) {
// keep reference to object in case of refresh
$operation = new RemoveNodeOperation($absPath, $node);
$this->nodesRemove[$absPath] = $operation;
if (!$cascading) {
$this->operationsLog[] = $operation;
}
}
}