original_string: public function examplesAction()
      {
          $kernelRootDir = $this->container->getParameter('kernel.root_dir');
          
          $propablyPhpPdfExamplesFilePaths = array($kernelRootDir.'/../vendor/PHPPdf/examples/index.php', $kernelRootDir.'/../vendor/psliwa/php-pdf/examples/index.php');
  
          foreach($propablyPhpPdfExamplesFilePaths as $propablyPhpPdfExamplesFilePath)
          {
              if(file_exists($propablyPhpPdfExamplesFilePath))
              {
                  require $propablyPhpPdfExamplesFilePath;
                  exit();
              }
          }
  
          throw new NotFoundHttpException('File with PHPPdf examples not found.');
      }
code: public function examplesAction()
      {
          $kernelRootDir = $this->container->getParameter('kernel.root_dir');
          
          $propablyPhpPdfExamplesFilePaths = array($kernelRootDir.'/../vendor/PHPPdf/examples/index.php', $kernelRootDir.'/../vendor/psliwa/php-pdf/examples/index.php');
  
          foreach($propablyPhpPdfExamplesFilePaths as $propablyPhpPdfExamplesFilePath)
          {
              if(file_exists($propablyPhpPdfExamplesFilePath))
              {
                  require $propablyPhpPdfExamplesFilePath;
                  exit();
              }
          }
  
          throw new NotFoundHttpException('File with PHPPdf examples not found.');
      }
code_tokens: public function examplesAction ( ) { $ kernelRootDir = $ this -> container -> getParameter ( 'kernel.root_dir' ) ; $ propablyPhpPdfExamplesFilePaths = array ( $ kernelRootDir . '/../vendor/PHPPdf/examples/index.php' , $ kernelRootDir . '/../vendor/psliwa/php-pdf/examples/index.php' ) ; foreach ( $ propablyPhpPdfExamplesFilePaths as $ propablyPhpPdfExamplesFilePath ) { if ( file_exists ( $ propablyPhpPdfExamplesFilePath ) ) { require $ propablyPhpPdfExamplesFilePath ; exit ( ) ; } } throw new NotFoundHttpException ( 'File with PHPPdf examples not found.' ) ; }
docstring: Standard examples of PHPPdf library
docstring_tokens: Standard examples of PHPPdf library