original_string: public function getCategoryAlias(NewsCategoryModel $category, PageModel $page)
      {
          if ($category instanceof Multilingual) {
              return $category->getAlias($page->language);
          }
  
          return $category->alias;
      }
code: public function getCategoryAlias(NewsCategoryModel $category, PageModel $page)
      {
          if ($category instanceof Multilingual) {
              return $category->getAlias($page->language);
          }
  
          return $category->alias;
      }
code_tokens: public function getCategoryAlias ( NewsCategoryModel $ category , PageModel $ page ) { if ( $ category instanceof Multilingual ) { return $ category -> getAlias ( $ page -> language ) ; } return $ category -> alias ; }
docstring: Get the category alias
  
  @param NewsCategoryModel $category
  @param PageModel         $page
  
  @return string
docstring_tokens: Get the category alias