Bundle/SeoBundle/Repository/HttpErrorRepository.php
public function getFileErrors($order = 'error.counter', $direction = 'DESC')
    {
        $this->getAll(true);

        /** @var QueryBuilder $qb */
        $qb = $this->qb;

        return $qb
            ->andWhere('error.type = :type')
            ->setParameter('type', HttpError::TYPE_FILE)
            ->orderBy($order, $direction);
    }
public function getFileErrors($order = 'error.counter', $direction = 'DESC')
    {
        $this->getAll(true);

        /** @var QueryBuilder $qb */
        $qb = $this->qb;

        return $qb
            ->andWhere('error.type = :type')
            ->setParameter('type', HttpError::TYPE_FILE)
            ->orderBy($order, $direction);
    }
public function getFileErrors ( $ order = 'error.counter' , $ direction = 'DESC' ) { $ this -> getAll ( true ) ; /** @var QueryBuilder $qb */ $ qb = $ this -> qb ; return $ qb -> andWhere ( 'error.type = :type' ) -> setParameter ( 'type' , HttpError :: TYPE_FILE ) -> orderBy ( $ order , $ direction ) ; }
Get every file errors in the repository.

@param string $order
@param string $direction

@return QueryBuilder
Get every file errors in the repository .