Neos.ContentRepository/Classes/Domain/Repository/NodeDataRepository.php
protected function filterOutRemovedObjects(array &$objects)
    {
        foreach ($objects as $index => $object) {
            if ($this->removedNodes->contains($object)) {
                unset($objects[$index]);
            }
        }
    }
protected function filterOutRemovedObjects(array &$objects)
    {
        foreach ($objects as $index => $object) {
            if ($this->removedNodes->contains($object)) {
                unset($objects[$index]);
            }
        }
    }
protected function filterOutRemovedObjects ( array & $ objects ) { foreach ( $ objects as $ index => $ object ) { if ( $ this -> removedNodes -> contains ( $ object ) ) { unset ( $ objects [ $ index ] ) ; } } }
Iterates of the array of objects and removes all those which have recently been removed from the repository,
but whose removal has not yet been persisted.

Technically this is a check of the given array against $this->removedNodes.

@param array &$objects An array of objects to filter, passed by reference.
@return void
Iterates of the array of objects and removes all those which have recently been removed from the repository but whose removal has not yet been persisted .