original_string: public function indexAction($category, $package, $page) {
  
          $wikiViews = self::getWikiViews();
  
          $wikiView = WikiView::find($wikiViews, $category, $package, $page);
          if (null === $wikiView) {
  
              // Set a default wiki view.
              $wikiView = $wikiViews[0];
  
              $this->notifyDanger("The requested page was not found");
              $this->notifyInfo("You have been redirected to homepage");
          }
  
          return $this->render($wikiView->getView(), [
              "wikiViews"                 => $wikiViews,
              "wikiView"                  => $wikiView,
              "syntaxHighlighterConfig"   => $this->getSyntaxHighlighterConfig(),
              "syntaxHighlighterDefaults" => $this->getSyntaxHighlighterDefaults(),
              "user"                      => $this->getSampleUser(),
              "userRoleColors"            => $this->getSampleUserRoleColors(),
              "userRoleTranslations"      => $this->getSampleUserRoleTranslations(),
          ]);
      }
code: public function indexAction($category, $package, $page) {
  
          $wikiViews = self::getWikiViews();
  
          $wikiView = WikiView::find($wikiViews, $category, $package, $page);
          if (null === $wikiView) {
  
              // Set a default wiki view.
              $wikiView = $wikiViews[0];
  
              $this->notifyDanger("The requested page was not found");
              $this->notifyInfo("You have been redirected to homepage");
          }
  
          return $this->render($wikiView->getView(), [
              "wikiViews"                 => $wikiViews,
              "wikiView"                  => $wikiView,
              "syntaxHighlighterConfig"   => $this->getSyntaxHighlighterConfig(),
              "syntaxHighlighterDefaults" => $this->getSyntaxHighlighterDefaults(),
              "user"                      => $this->getSampleUser(),
              "userRoleColors"            => $this->getSampleUserRoleColors(),
              "userRoleTranslations"      => $this->getSampleUserRoleTranslations(),
          ]);
      }
code_tokens: public function indexAction ( $ category , $ package , $ page ) { $ wikiViews = self :: getWikiViews ( ) ; $ wikiView = WikiView :: find ( $ wikiViews , $ category , $ package , $ page ) ; if ( null === $ wikiView ) { // Set a default wiki view. $ wikiView = $ wikiViews [ 0 ] ; $ this -> notifyDanger ( "The requested page was not found" ) ; $ this -> notifyInfo ( "You have been redirected to homepage" ) ; } return $ this -> render ( $ wikiView -> getView ( ) , [ "wikiViews" => $ wikiViews , "wikiView" => $ wikiView , "syntaxHighlighterConfig" => $ this -> getSyntaxHighlighterConfig ( ) , "syntaxHighlighterDefaults" => $ this -> getSyntaxHighlighterDefaults ( ) , "user" => $ this -> getSampleUser ( ) , "userRoleColors" => $ this -> getSampleUserRoleColors ( ) , "userRoleTranslations" => $ this -> getSampleUserRoleTranslations ( ) , ] ) ; }
docstring: Displays a wiki page.
  
  @param string $category The category.
  @param string $package The parent.
  @param string $page The page.
  @return Response Returns the response.
docstring_tokens: Displays a wiki page .