protected function cascadeDeleteVersion($absPath)
{
// delete all versions, similar to cascadeDelete
foreach ($this->objectsByPath['Version\\Version'] as $path => $node) {
if (strpos($path, "{$absPath}/") === 0) {
// versions are read only, we simple unset them
unset($this->objectsByUuid[$node->getIdentifier()], $this->objectsByPath['Version\\Version'][$absPath]);
if (!$node->isDeleted()) {
$node->setDeleted();
}
}
}
}