api/laravel/Foundation/Exceptions/Renderer/Exception.yaml
2024-09-26 02:03:21 -07:00

165 lines
4.1 KiB
YAML

name: Exception
class_comment: null
dependencies:
- name: Closure
type: class
source: Closure
- name: ClassLoader
type: class
source: Composer\Autoload\ClassLoader
- name: Model
type: class
source: Illuminate\Database\Eloquent\Model
- name: HandleExceptions
type: class
source: Illuminate\Foundation\Bootstrap\HandleExceptions
- name: Request
type: class
source: Illuminate\Http\Request
- name: FlattenException
type: class
source: Symfony\Component\ErrorHandler\Exception\FlattenException
properties:
- name: exception
visibility: protected
comment: '# * The "flattened" exception instance.
# *
# * @var \Symfony\Component\ErrorHandler\Exception\FlattenException'
- name: request
visibility: protected
comment: '# * The current request instance.
# *
# * @var \Illuminate\Http\Request'
- name: listener
visibility: protected
comment: '# * The exception listener instance.
# *
# * @var \Illuminate\Foundation\Exceptions\Renderer\Listener'
- name: basePath
visibility: protected
comment: '# * The application''s base path.
# *
# * @var string'
methods:
- name: __construct
visibility: public
parameters:
- name: exception
- name: request
- name: listener
- name: basePath
comment: "# * The \"flattened\" exception instance.\n# *\n# * @var \\Symfony\\Component\\\
ErrorHandler\\Exception\\FlattenException\n# */\n# protected $exception;\n# \n\
# /**\n# * The current request instance.\n# *\n# * @var \\Illuminate\\Http\\Request\n\
# */\n# protected $request;\n# \n# /**\n# * The exception listener instance.\n\
# *\n# * @var \\Illuminate\\Foundation\\Exceptions\\Renderer\\Listener\n# */\n\
# protected $listener;\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 \\Symfony\\Component\\ErrorHandler\\Exception\\\
FlattenException $exception\n# * @param \\Illuminate\\Http\\Request $request\n\
# * @param \\Illuminate\\Foundation\\Exceptions\\Renderer\\Listener $listener\n\
# * @param string $basePath\n# * @return void"
- name: title
visibility: public
parameters: []
comment: '# * Get the exception title.
# *
# * @return string'
- name: message
visibility: public
parameters: []
comment: '# * Get the exception message.
# *
# * @return string'
- name: class
visibility: public
parameters: []
comment: '# * Get the exception class name.
# *
# * @return string'
- name: defaultFrame
visibility: public
parameters: []
comment: '# * Get the first "non-vendor" frame index.
# *
# * @return int'
- name: frames
visibility: public
parameters: []
comment: '# * Get the exception''s frames.
# *
# * @return \Illuminate\Support\Collection<int, Frame>'
- name: request
visibility: public
parameters: []
comment: '# * Get the exception''s request instance.
# *
# * @return \Illuminate\Http\Request'
- name: requestHeaders
visibility: public
parameters: []
comment: '# * Get the request''s headers.
# *
# * @return array<string, string>'
- name: requestBody
visibility: public
parameters: []
comment: '# * Get the request''s body parameters.
# *
# * @return string|null'
- name: applicationRouteContext
visibility: public
parameters: []
comment: '# * Get the application''s route context.
# *
# * @return array<string, string>'
- name: applicationRouteParametersContext
visibility: public
parameters: []
comment: '# * Get the application''s route parameters context.
# *
# * @return array<string, mixed>|null'
- name: applicationQueries
visibility: public
parameters: []
comment: '# * Get the application''s SQL queries.
# *
# * @return array<int, array{connectionName: string, time: float, sql: string}>'
traits:
- Closure
- Composer\Autoload\ClassLoader
- Illuminate\Database\Eloquent\Model
- Illuminate\Foundation\Bootstrap\HandleExceptions
- Illuminate\Http\Request
- Symfony\Component\ErrorHandler\Exception\FlattenException
interfaces: []