117 lines
3.7 KiB
YAML
117 lines
3.7 KiB
YAML
|
name: Renderer
|
||
|
class_comment: null
|
||
|
dependencies:
|
||
|
- name: Factory
|
||
|
type: class
|
||
|
source: Illuminate\Contracts\View\Factory
|
||
|
- name: BladeMapper
|
||
|
type: class
|
||
|
source: Illuminate\Foundation\Exceptions\Renderer\Mappers\BladeMapper
|
||
|
- name: Request
|
||
|
type: class
|
||
|
source: Illuminate\Http\Request
|
||
|
- name: HtmlErrorRenderer
|
||
|
type: class
|
||
|
source: Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer
|
||
|
- name: Throwable
|
||
|
type: class
|
||
|
source: Throwable
|
||
|
properties:
|
||
|
- name: viewFactory
|
||
|
visibility: protected
|
||
|
comment: "# * The path to the renderer's distribution files.\n# *\n# * @var string\n\
|
||
|
# */\n# protected const DIST = __DIR__.'/../../resources/exceptions/renderer/dist/';\n\
|
||
|
# \n# /**\n# * The view factory instance.\n# *\n# * @var \\Illuminate\\Contracts\\\
|
||
|
View\\Factory"
|
||
|
- name: listener
|
||
|
visibility: protected
|
||
|
comment: '# * The exception listener instance.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @var \Illuminate\Foundation\Exceptions\Renderer\Listener'
|
||
|
- name: htmlErrorRenderer
|
||
|
visibility: protected
|
||
|
comment: '# * The HTML error renderer instance.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @var \Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer'
|
||
|
- name: bladeMapper
|
||
|
visibility: protected
|
||
|
comment: '# * The Blade mapper instance.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @var \Illuminate\Foundation\Exceptions\Renderer\Mappers\BladeMapper'
|
||
|
- name: basePath
|
||
|
visibility: protected
|
||
|
comment: '# * The application''s base path.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @var string'
|
||
|
methods:
|
||
|
- name: __construct
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: viewFactory
|
||
|
- name: listener
|
||
|
- name: htmlErrorRenderer
|
||
|
- name: bladeMapper
|
||
|
- name: basePath
|
||
|
comment: "# * The path to the renderer's distribution files.\n# *\n# * @var string\n\
|
||
|
# */\n# protected const DIST = __DIR__.'/../../resources/exceptions/renderer/dist/';\n\
|
||
|
# \n# /**\n# * The view factory instance.\n# *\n# * @var \\Illuminate\\Contracts\\\
|
||
|
View\\Factory\n# */\n# protected $viewFactory;\n# \n# /**\n# * The exception listener\
|
||
|
\ instance.\n# *\n# * @var \\Illuminate\\Foundation\\Exceptions\\Renderer\\Listener\n\
|
||
|
# */\n# protected $listener;\n# \n# /**\n# * The HTML error renderer instance.\n\
|
||
|
# *\n# * @var \\Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer\n\
|
||
|
# */\n# protected $htmlErrorRenderer;\n# \n# /**\n# * The Blade mapper instance.\n\
|
||
|
# *\n# * @var \\Illuminate\\Foundation\\Exceptions\\Renderer\\Mappers\\BladeMapper\n\
|
||
|
# */\n# protected $bladeMapper;\n# \n# /**\n# * The application's base path.\n\
|
||
|
# *\n# * @var string\n# */\n# protected $basePath;\n# \n# /**\n# * Creates a new\
|
||
|
\ exception renderer instance.\n# *\n# * @param \\Illuminate\\Contracts\\View\\\
|
||
|
Factory $viewFactory\n# * @param \\Illuminate\\Foundation\\Exceptions\\Renderer\\\
|
||
|
Listener $listener\n# * @param \\Symfony\\Component\\ErrorHandler\\ErrorRenderer\\\
|
||
|
HtmlErrorRenderer $htmlErrorRenderer\n# * @param \\Illuminate\\Foundation\\\
|
||
|
Exceptions\\Renderer\\Mappers\\BladeMapper $bladeMapper\n# * @param string \
|
||
|
\ $basePath\n# * @return void"
|
||
|
- name: render
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: request
|
||
|
- name: throwable
|
||
|
comment: '# * Render the given exception as an HTML string.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @param \Illuminate\Http\Request $request
|
||
|
|
||
|
# * @param \Throwable $throwable
|
||
|
|
||
|
# * @return string'
|
||
|
- name: css
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: '# * Get the renderer''s CSS content.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @return string'
|
||
|
- name: js
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: '# * Get the renderer''s JavaScript content.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @return string'
|
||
|
traits:
|
||
|
- Illuminate\Contracts\View\Factory
|
||
|
- Illuminate\Foundation\Exceptions\Renderer\Mappers\BladeMapper
|
||
|
- Illuminate\Http\Request
|
||
|
- Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer
|
||
|
- Throwable
|
||
|
interfaces: []
|