original_string: public function requirementsAction()
          {
  
              // include symfony requirements class
              $sAppPath = $this->getParameter('kernel.root_dir');
              require_once $sAppPath.'/SymfonyRequirements.php';
              $symfonyRequirements = new \SymfonyRequirements();
  
              // add additional requirement for mcrypt
              $symfonyRequirements->addRequirement(extension_loaded('mcrypt'), "Check if mcrypt ist loaded for RSA encryption", "Please enable mcrypt-Extension. See <a href='http://php.net/manual/de/mcrypt.setup.php'>http://php.net/manual/de/mcrypt.setup.php</a>");
  
              // fetch all data
              $aRequirements          = $symfonyRequirements->getRequirements();
              $aRecommendations       = $symfonyRequirements->getRecommendations();
              $aFailedRequirements    = $symfonyRequirements->getFailedRequirements();
              $aFailedRecommendations = $symfonyRequirements->getFailedRecommendations();
              $iniPath                = $symfonyRequirements->getPhpIniConfigPath();
  
              // render template
              return $this->render('SlashworksBackendBundle:Install:requirements.html.twig', array("iniPath" => $iniPath, "requirements" => $aRequirements, "recommendations" => $aRecommendations, "failedrequirements" => $aFailedRequirements, "failedrecommendations" => $aFailedRecommendations));
          }
code: public function requirementsAction()
          {
  
              // include symfony requirements class
              $sAppPath = $this->getParameter('kernel.root_dir');
              require_once $sAppPath.'/SymfonyRequirements.php';
              $symfonyRequirements = new \SymfonyRequirements();
  
              // add additional requirement for mcrypt
              $symfonyRequirements->addRequirement(extension_loaded('mcrypt'), "Check if mcrypt ist loaded for RSA encryption", "Please enable mcrypt-Extension. See <a href='http://php.net/manual/de/mcrypt.setup.php'>http://php.net/manual/de/mcrypt.setup.php</a>");
  
              // fetch all data
              $aRequirements          = $symfonyRequirements->getRequirements();
              $aRecommendations       = $symfonyRequirements->getRecommendations();
              $aFailedRequirements    = $symfonyRequirements->getFailedRequirements();
              $aFailedRecommendations = $symfonyRequirements->getFailedRecommendations();
              $iniPath                = $symfonyRequirements->getPhpIniConfigPath();
  
              // render template
              return $this->render('SlashworksBackendBundle:Install:requirements.html.twig', array("iniPath" => $iniPath, "requirements" => $aRequirements, "recommendations" => $aRecommendations, "failedrequirements" => $aFailedRequirements, "failedrecommendations" => $aFailedRecommendations));
          }
code_tokens: public function requirementsAction ( ) { // include symfony requirements class $ sAppPath = $ this -> getParameter ( 'kernel.root_dir' ) ; require_once $ sAppPath . '/SymfonyRequirements.php' ; $ symfonyRequirements = new \ SymfonyRequirements ( ) ; // add additional requirement for mcrypt $ symfonyRequirements -> addRequirement ( extension_loaded ( 'mcrypt' ) , "Check if mcrypt ist loaded for RSA encryption" , "Please enable mcrypt-Extension. See <a href='http://php.net/manual/de/mcrypt.setup.php'>http://php.net/manual/de/mcrypt.setup.php</a>" ) ; // fetch all data $ aRequirements = $ symfonyRequirements -> getRequirements ( ) ; $ aRecommendations = $ symfonyRequirements -> getRecommendations ( ) ; $ aFailedRequirements = $ symfonyRequirements -> getFailedRequirements ( ) ; $ aFailedRecommendations = $ symfonyRequirements -> getFailedRecommendations ( ) ; $ iniPath = $ symfonyRequirements -> getPhpIniConfigPath ( ) ; // render template return $ this -> render ( 'SlashworksBackendBundle:Install:requirements.html.twig' , array ( "iniPath" => $ iniPath , "requirements" => $ aRequirements , "recommendations" => $ aRecommendations , "failedrequirements" => $ aFailedRequirements , "failedrecommendations" => $ aFailedRecommendations ) ) ; }
docstring: Check System Requirements
  
  @return \Symfony\Component\HttpFoundation\Response
docstring_tokens: Check System Requirements