api/laravel/Contracts/Debug/ExceptionHandler.yaml
2024-09-26 02:03:21 -07:00

73 lines
1.3 KiB
YAML

name: ExceptionHandler
class_comment: null
dependencies:
- name: Throwable
type: class
source: Throwable
properties: []
methods:
- name: report
visibility: public
parameters:
- name: e
comment: '# * Report or log an exception.
# *
# * @param \Throwable $e
# * @return void
# *
# * @throws \Throwable'
- name: shouldReport
visibility: public
parameters:
- name: e
comment: '# * Determine if the exception should be reported.
# *
# * @param \Throwable $e
# * @return bool'
- name: render
visibility: public
parameters:
- name: request
- name: e
comment: '# * Render an exception into an HTTP response.
# *
# * @param \Illuminate\Http\Request $request
# * @param \Throwable $e
# * @return \Symfony\Component\HttpFoundation\Response
# *
# * @throws \Throwable'
- name: renderForConsole
visibility: public
parameters:
- name: output
- name: e
comment: '# * Render an exception to the console.
# *
# * @param \Symfony\Component\Console\Output\OutputInterface $output
# * @param \Throwable $e
# * @return void
# *
# * @internal This method is not meant to be used or overwritten outside the framework.'
traits:
- Throwable
interfaces: []