Neos\Flow\Persistence\Repository::removeAll PHP Method

removeAll() public method

Removes all objects of this repository as if remove() was called for all of them.
public removeAll ( ) : void
return void
    public function removeAll()
    {
        foreach ($this->findAll() as $object) {
            $this->remove($object);
        }
    }