You are here

public function ErrorHandlerCanary::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/debug/ErrorHandler.php \Symfony\Component\Debug\ErrorHandlerCanary::__construct()

File

vendor/symfony/debug/ErrorHandler.php, line 727

Class

ErrorHandlerCanary
Private class used to work around https://bugs.php.net/54275.

Namespace

Symfony\Component\Debug

Code

public function __construct() {
  if (null === self::$displayErrors) {
    self::$displayErrors = ini_set('display_errors', 1);
  }
}