示例#1
0
 public function __construct($debug = true, $charset = 'UTF-8', $env = 'dev')
 {
     $this->env = $env;
     parent::__construct($debug);
     $this->debug = $debug;
     $this->fileLinkFormat = ini_get('xdebug.file_link_format') ?: get_cfg_var('xdebug.file_link_format');
 }
 public function __construct($debug = true, $charset = null, $fileLinkFormat = null)
 {
     parent::__construct($debug, $charset, $fileLinkFormat);
     $this->charset = $charset ?: (config('app.DEFAULT_CHARSET') ?: 'UTF-8');
     $this->debug = (bool) $debug;
 }
 /**
  * ExceptionHandler constructor. This is needed to get 'debug' information to this class context.
  *
  * @param   bool        $debug
  * @param   null|string $charset
  * @param   null|string $fileLinkFormat
  */
 public function __construct($debug = true, $charset = null, $fileLinkFormat = null)
 {
     $this->debug = $debug;
     parent::__construct($debug, $charset, $fileLinkFormat);
 }