Renderer
class Renderer (View source)
Constants
| protected DIST |
The path to the renderer's distribution files. |
Properties
| protected Factory | $viewFactory | The view factory instance. |
|
| protected Listener | $listener | The exception listener instance. |
|
| protected HtmlErrorRenderer | $htmlErrorRenderer | The HTML error renderer instance. |
|
| protected BladeMapper | $bladeMapper | The Blade mapper instance. |
|
| protected string | $basePath | The application's base path. |
Methods
void
__construct(Factory $viewFactory, Listener $listener, HtmlErrorRenderer $htmlErrorRenderer, BladeMapper $bladeMapper, string $basePath)
Creates a new exception renderer instance.
static string
css()
Get the renderer's CSS content.
static string
js()
Get the renderer's JavaScript content.
Details
void
__construct(Factory $viewFactory, Listener $listener, HtmlErrorRenderer $htmlErrorRenderer, BladeMapper $bladeMapper, string $basePath)
Creates a new exception renderer instance.
static string
css()
Get the renderer's CSS content.
static string
js()
Get the renderer's JavaScript content.
Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.