Doctrine/Repository/DeletedAtFilterTrait.php
public function addFilterDeletedAtClause(QueryBuilder $qb)
    {
        if ($this->_filterDeletedAt) {
            $qb->andWhere($qb->expr()->isNull($qb->getRootAliases()[0].'.deletedAt'));
        }
    }
public function addFilterDeletedAtClause(QueryBuilder $qb)
    {
        if ($this->_filterDeletedAt) {
            $qb->andWhere($qb->expr()->isNull($qb->getRootAliases()[0].'.deletedAt'));
        }
    }
Configures the query builder.

@param QueryBuilder $qb