public function remove() { // A version node cannot be removed, so always throw an Exception throw new RepositoryException('You can not remove a version like this, use VersionHistory.removeVersion()'); }