original_string: public function paginate(
          \Twig_Environment $twig,
          PaginatorInterface $paginator,
          string $template = '@Core/pagination/default.html.twig'
      ) {
          return $twig->render($template, array(
              'available_pages' => $paginator->getAvailablePages(),
              'current_page' => $paginator->getCurrentPage(),
              'next_url' => $this->getNextUrl($paginator),
              'previous_url' => $this->getPreviousUrl($paginator),
              'route' => $this->getRoute(),
              'params' => $this->getMergedParams(),
          ));
      }
code: public function paginate(
          \Twig_Environment $twig,
          PaginatorInterface $paginator,
          string $template = '@Core/pagination/default.html.twig'
      ) {
          return $twig->render($template, array(
              'available_pages' => $paginator->getAvailablePages(),
              'current_page' => $paginator->getCurrentPage(),
              'next_url' => $this->getNextUrl($paginator),
              'previous_url' => $this->getPreviousUrl($paginator),
              'route' => $this->getRoute(),
              'params' => $this->getMergedParams(),
          ));
      }
code_tokens: public function paginate ( \ Twig_Environment $ twig , PaginatorInterface $ paginator , string $ template = '@Core/pagination/default.html.twig' ) { return $ twig -> render ( $ template , array ( 'available_pages' => $ paginator -> getAvailablePages ( ) , 'current_page' => $ paginator -> getCurrentPage ( ) , 'next_url' => $ this -> getNextUrl ( $ paginator ) , 'previous_url' => $ this -> getPreviousUrl ( $ paginator ) , 'route' => $ this -> getRoute ( ) , 'params' => $ this -> getMergedParams ( ) , ) ) ; }
docstring: Render the given paginator
  
  @param \Twig_Environment  $twig
  @param PaginatorInterface $paginator
  @param string             $template
  
  @return string
  
  @throws \Twig_Error_Loader
  @throws \Twig_Error_Runtime
  @throws \Twig_Error_Syntax
docstring_tokens: Render the given paginator