platform/api/laravel/Support/Facades/Exceptions.yaml
2024-09-02 10:44:11 -07:00

191 lines
6 KiB
YAML

name: Exceptions
class_comment: '# * @method static void register()
# * @method static \Illuminate\Foundation\Exceptions\ReportableHandler reportable(callable
$reportUsing)
# * @method static \Illuminate\Foundation\Exceptions\Handler renderable(callable
$renderUsing)
# * @method static \Illuminate\Foundation\Exceptions\Handler map(\Closure|string
$from, \Closure|string|null $to = null)
# * @method static \Illuminate\Foundation\Exceptions\Handler dontReport(array|string
$exceptions)
# * @method static \Illuminate\Foundation\Exceptions\Handler ignore(array|string
$exceptions)
# * @method static \Illuminate\Foundation\Exceptions\Handler dontFlash(array|string
$attributes)
# * @method static \Illuminate\Foundation\Exceptions\Handler level(string $type,
void $level)
# * @method static void report(\Throwable $e)
# * @method static bool shouldReport(\Throwable $e)
# * @method static \Illuminate\Foundation\Exceptions\Handler throttleUsing(callable
$throttleUsing)
# * @method static \Illuminate\Foundation\Exceptions\Handler stopIgnoring(array|string
$exceptions)
# * @method static \Illuminate\Foundation\Exceptions\Handler buildContextUsing(\Closure
$contextCallback)
# * @method static \Symfony\Component\HttpFoundation\Response render(\Illuminate\Http\Request
$request, \Throwable $e)
# * @method static \Illuminate\Foundation\Exceptions\Handler respondUsing(callable
$callback)
# * @method static \Illuminate\Foundation\Exceptions\Handler shouldRenderJsonWhen(callable
$callback)
# * @method static \Illuminate\Foundation\Exceptions\Handler dontReportDuplicates()
# * @method static \Illuminate\Contracts\Debug\ExceptionHandler handler()
# * @method static void assertNothingReported()
# * @method static void assertReported(\Closure|string $exception)
# * @method static void assertReportedCount(int $count)
# * @method static void assertNotReported(\Closure|string $exception)
# * @method static void renderForConsole(\Symfony\Component\Console\Output\OutputInterface
$output, \Throwable $e)
# * @method static \Illuminate\Support\Testing\Fakes\ExceptionHandlerFake throwFirstReported()
# * @method static \Illuminate\Support\Testing\Fakes\ExceptionHandlerFake setHandler(\Illuminate\Contracts\Debug\ExceptionHandler
$handler)
# *
# * @see \Illuminate\Foundation\Exceptions\Handler
# * @see \Illuminate\Contracts\Debug\ExceptionHandler
# * @see \Illuminate\Support\Testing\Fakes\ExceptionHandlerFake'
dependencies:
- name: ExceptionHandler
type: class
source: Illuminate\Contracts\Debug\ExceptionHandler
- name: Arr
type: class
source: Illuminate\Support\Arr
- name: ExceptionHandlerFake
type: class
source: Illuminate\Support\Testing\Fakes\ExceptionHandlerFake
properties: []
methods:
- name: fake
visibility: public
parameters:
- name: exceptions
default: '[]'
comment: '# * @method static void register()
# * @method static \Illuminate\Foundation\Exceptions\ReportableHandler reportable(callable
$reportUsing)
# * @method static \Illuminate\Foundation\Exceptions\Handler renderable(callable
$renderUsing)
# * @method static \Illuminate\Foundation\Exceptions\Handler map(\Closure|string
$from, \Closure|string|null $to = null)
# * @method static \Illuminate\Foundation\Exceptions\Handler dontReport(array|string
$exceptions)
# * @method static \Illuminate\Foundation\Exceptions\Handler ignore(array|string
$exceptions)
# * @method static \Illuminate\Foundation\Exceptions\Handler dontFlash(array|string
$attributes)
# * @method static \Illuminate\Foundation\Exceptions\Handler level(string $type,
void $level)
# * @method static void report(\Throwable $e)
# * @method static bool shouldReport(\Throwable $e)
# * @method static \Illuminate\Foundation\Exceptions\Handler throttleUsing(callable
$throttleUsing)
# * @method static \Illuminate\Foundation\Exceptions\Handler stopIgnoring(array|string
$exceptions)
# * @method static \Illuminate\Foundation\Exceptions\Handler buildContextUsing(\Closure
$contextCallback)
# * @method static \Symfony\Component\HttpFoundation\Response render(\Illuminate\Http\Request
$request, \Throwable $e)
# * @method static \Illuminate\Foundation\Exceptions\Handler respondUsing(callable
$callback)
# * @method static \Illuminate\Foundation\Exceptions\Handler shouldRenderJsonWhen(callable
$callback)
# * @method static \Illuminate\Foundation\Exceptions\Handler dontReportDuplicates()
# * @method static \Illuminate\Contracts\Debug\ExceptionHandler handler()
# * @method static void assertNothingReported()
# * @method static void assertReported(\Closure|string $exception)
# * @method static void assertReportedCount(int $count)
# * @method static void assertNotReported(\Closure|string $exception)
# * @method static void renderForConsole(\Symfony\Component\Console\Output\OutputInterface
$output, \Throwable $e)
# * @method static \Illuminate\Support\Testing\Fakes\ExceptionHandlerFake throwFirstReported()
# * @method static \Illuminate\Support\Testing\Fakes\ExceptionHandlerFake setHandler(\Illuminate\Contracts\Debug\ExceptionHandler
$handler)
# *
# * @see \Illuminate\Foundation\Exceptions\Handler
# * @see \Illuminate\Contracts\Debug\ExceptionHandler
# * @see \Illuminate\Support\Testing\Fakes\ExceptionHandlerFake
# */
# class Exceptions extends Facade
# {
# /**
# * Replace the bound instance with a fake.
# *
# * @param array<int, class-string<\Throwable>>|class-string<\Throwable> $exceptions
# * @return \Illuminate\Support\Testing\Fakes\ExceptionHandlerFake'
- name: getFacadeAccessor
visibility: protected
parameters: []
comment: '# * Get the registered name of the component.
# *
# * @return string'
traits:
- Illuminate\Contracts\Debug\ExceptionHandler
- Illuminate\Support\Arr
- Illuminate\Support\Testing\Fakes\ExceptionHandlerFake
interfaces: []