original_string: protected function getSearchCriteria($begin, $end)
      {
          try {
              $criteria = System::getContainer()
                  ->get('codefog_news_categories.news_criteria_builder')
                  ->getCriteriaForArchiveModule($this->news_archives, $begin, $end, $this);
          } catch (CategoryNotFoundException $e) {
              throw new PageNotFoundException($e->getMessage());
          }
  
          return $criteria;
      }
code: protected function getSearchCriteria($begin, $end)
      {
          try {
              $criteria = System::getContainer()
                  ->get('codefog_news_categories.news_criteria_builder')
                  ->getCriteriaForArchiveModule($this->news_archives, $begin, $end, $this);
          } catch (CategoryNotFoundException $e) {
              throw new PageNotFoundException($e->getMessage());
          }
  
          return $criteria;
      }
code_tokens: protected function getSearchCriteria ( $ begin , $ end ) { try { $ criteria = System :: getContainer ( ) -> get ( 'codefog_news_categories.news_criteria_builder' ) -> getCriteriaForArchiveModule ( $ this -> news_archives , $ begin , $ end , $ this ) ; } catch ( CategoryNotFoundException $ e ) { throw new PageNotFoundException ( $ e -> getMessage ( ) ) ; } return $ criteria ; }
docstring: Get the search criteria
  
  @param int $begin
  @param int $end
  
  @return NewsCriteria|null
  
  @throws PageNotFoundException
docstring_tokens: Get the search criteria