src/Framework/Kernel/Bootstrap/ErrorHandling.php
private function registerErrorRenderer()
    {
        if ($this->kernel()->isCli()) {
            $this->container()->bind(ErrorRendererContract::class, ConsoleErrorRenderer::class);
        } else {
            $this->container()->bind(ErrorRendererContract::class, HttpErrorRenderer::class);
        }
    }
private function registerErrorRenderer()
    {
        if ($this->kernel()->isCli()) {
            $this->container()->bind(ErrorRendererContract::class, ConsoleErrorRenderer::class);
        } else {
            $this->container()->bind(ErrorRendererContract::class, HttpErrorRenderer::class);
        }
    }
private function registerErrorRenderer ( ) { if ( $ this -> kernel ( ) -> isCli ( ) ) { $ this -> container ( ) -> bind ( ErrorRendererContract :: class , ConsoleErrorRenderer :: class ) ; } else { $ this -> container ( ) -> bind ( ErrorRendererContract :: class , HttpErrorRenderer :: class ) ; } }
Registers the default error renderer.
Registers the default error renderer .