src/Sulu/Bundle/ResourceBundle/Entity/FilterRepository.php
public function deleteByIds($ids)
    {
        $qb = $this->createQueryBuilder('filter')->delete()->where(
            'filter.id IN (:ids)'
        )->setParameter('ids', $ids);
        $qb->getQuery()->execute();
    }
public function deleteByIds($ids)
    {
        $qb = $this->createQueryBuilder('filter')->delete()->where(
            'filter.id IN (:ids)'
        )->setParameter('ids', $ids);
        $qb->getQuery()->execute();
    }
public function deleteByIds ( $ ids ) { $ qb = $ this -> createQueryBuilder ( 'filter' ) -> delete ( ) -> where ( 'filter.id IN (:ids)' ) -> setParameter ( 'ids' , $ ids ) ; $ qb -> getQuery ( ) -> execute ( ) ; }
Deletes multiple filters.

@param $ids

@return mixed
Deletes multiple filters .