src/Mapper/Relation/HasAndBelongsToMany.php
public function remove(EntityRemoved $event)
    {
        $entity = $event->getEntity();
        $collection = $event->getCollection();
        $this->deleteRelation($entity, $collection);
    }
public function remove(EntityRemoved $event)
    {
        $entity = $event->getEntity();
        $collection = $event->getCollection();
        $this->deleteRelation($entity, $collection);
    }
public function remove ( EntityRemoved $ event ) { $ entity = $ event -> getEntity ( ) ; $ collection = $ event -> getCollection ( ) ; $ this -> deleteRelation ( $ entity , $ collection ) ; }
Deletes the relation row upon entity remove

@param EntityRemoved $event
Deletes the relation row upon entity remove