master

laravel/framework

Last updated at: 29/12/2023 09:21

ExceptionRenderer.php

TLDR

This file defines an interface called ExceptionRenderer that provides a method for rendering an exception as HTML.

Methods

render

Renders the given exception as HTML.

Classes

This file does not contain any classes.

<?php

namespace Illuminate\Contracts\Foundation;

interface ExceptionRenderer
{
    /**
     * Renders the given exception as HTML.
     *
     * @param  \Throwable  $throwable
     * @return string
     */
    public function render($throwable);
}