Flarum\Http\Middleware\HandleErrors::__construct PHP Method

__construct() public method

public __construct ( string $templateDir, Psr\Log\LoggerInterface $logger, boolean $debug = false )
$templateDir string
$logger Psr\Log\LoggerInterface
$debug boolean
    public function __construct($templateDir, LoggerInterface $logger, $debug = false)
    {
        $this->templateDir = $templateDir;
        $this->logger = $logger;
        $this->debug = $debug;
    }