private function getCriteria(array $archives, $featured, ModuleNewsList $module)
    {
        try {
            $criteria = $this->searchBuilder->getCriteriaForListModule($archives, $featured, $module);
        } catch (CategoryNotFoundException $e) {
            throw new PageNotFoundException($e->getMessage());
        }

        return $criteria;
    }
private function getCriteria(array $archives, $featured, ModuleNewsList $module)
    {
        try {
            $criteria = $this->searchBuilder->getCriteriaForListModule($archives, $featured, $module);
        } catch (CategoryNotFoundException $e) {
            throw new PageNotFoundException($e->getMessage());
        }

        return $criteria;
    }
private function getCriteria ( array $ archives , $ featured , ModuleNewsList $ module ) { try { $ criteria = $ this -> searchBuilder -> getCriteriaForListModule ( $ archives , $ featured , $ module ) ; } catch ( CategoryNotFoundException $ e ) { throw new PageNotFoundException ( $ e -> getMessage ( ) ) ; } return $ criteria ; }
Get the criteria.

@param array          $archives
@param bool|null      $featured
@param ModuleNewsList $module

@return NewsCriteria|null

@throws PageNotFoundException
Get the criteria .