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

131 lines
3.3 KiB
YAML

name: Frame
class_comment: null
dependencies:
- name: ResolvesDumpSource
type: class
source: Illuminate\Foundation\Concerns\ResolvesDumpSource
- name: FlattenException
type: class
source: Symfony\Component\ErrorHandler\Exception\FlattenException
- name: ResolvesDumpSource
type: class
source: ResolvesDumpSource
properties:
- name: exception
visibility: protected
comment: '# * The "flattened" exception instance.
# *
# * @var \Symfony\Component\ErrorHandler\Exception\FlattenException'
- name: classMap
visibility: protected
comment: '# * The application''s class map.
# *
# * @var array<string, string>'
- name: frame
visibility: protected
comment: '# * The frame''s raw data from the "flattened" exception.
# *
# * @var array{file: string, line: int, class?: string, type?: string, function?:
string}'
- name: basePath
visibility: protected
comment: '# * The application''s base path.
# *
# * @var string'
methods:
- name: __construct
visibility: public
parameters:
- name: exception
- name: classMap
- name: frame
- name: basePath
comment: "# * The \"flattened\" exception instance.\n# *\n# * @var \\Symfony\\Component\\\
ErrorHandler\\Exception\\FlattenException\n# */\n# protected $exception;\n# \n\
# /**\n# * The application's class map.\n# *\n# * @var array<string, string>\n\
# */\n# protected $classMap;\n# \n# /**\n# * The frame's raw data from the \"\
flattened\" exception.\n# *\n# * @var array{file: string, line: int, class?: string,\
\ type?: string, function?: string}\n# */\n# protected $frame;\n# \n# /**\n# *\
\ The application's base path.\n# *\n# * @var string\n# */\n# protected $basePath;\n\
# \n# /**\n# * Create a new frame instance.\n# *\n# * @param \\Symfony\\Component\\\
ErrorHandler\\Exception\\FlattenException $exception\n# * @param array<string,\
\ string> $classMap\n# * @param array{file: string, line: int, class?: string,\
\ type?: string, function?: string} $frame\n# * @param string $basePath\n#\
\ * @return void"
- name: source
visibility: public
parameters: []
comment: '# * Get the frame''s source / origin.
# *
# * @return string'
- name: editorHref
visibility: public
parameters: []
comment: '# * Get the frame''s editor link.
# *
# * @return string'
- name: class
visibility: public
parameters: []
comment: '# * Get the frame''s class, if any.
# *
# * @return string|null'
- name: file
visibility: public
parameters: []
comment: '# * Get the frame''s file.
# *
# * @return string'
- name: line
visibility: public
parameters: []
comment: '# * Get the frame''s line number.
# *
# * @return int'
- name: callable
visibility: public
parameters: []
comment: '# * Get the frame''s function or method.
# *
# * @return string'
- name: snippet
visibility: public
parameters: []
comment: '# * Get the frame''s code snippet.
# *
# * @return string'
- name: isFromVendor
visibility: public
parameters: []
comment: '# * Determine if the frame is from the vendor directory.
# *
# * @return bool'
traits:
- Illuminate\Foundation\Concerns\ResolvesDumpSource
- Symfony\Component\ErrorHandler\Exception\FlattenException
- ResolvesDumpSource
interfaces: []