src/CoreBundle/Component/Error/ExceptionController.php line 7

Open in your IDE?
  1. <?php
  2. namespace App\CoreBundle\Component\Error;
  3. use Symfony\Bundle\TwigBundle\Controller\ExceptionController as BaseController;
  4. class ExceptionController extends BaseController
  5. {
  6.     /**
  7.      * @var bool
  8.      */
  9.     protected $showErrorPagePrototype false;
  10.     /**
  11.      * @param bool $bool
  12.      */
  13.     public function setDebug($bool)
  14.     {
  15.         $this->debug $bool;
  16.     }
  17.     /**
  18.      * @return bool
  19.      */
  20.     public function getDebug()
  21.     {
  22.         return $this->debug;
  23.     }
  24.     /**
  25.      * @return bool
  26.      */
  27.     public function isShownErrorPagePrototype()
  28.     {
  29.         return $this->showErrorPagePrototype;
  30.     }
  31.     public function setShowErrorPagePrototype()
  32.     {
  33.         $this->showErrorPagePrototype true;
  34.     }
  35. }