Exceptions
Illuminate\Support\Facades\Exceptions
class src/Illuminate/Support/Facades/Exceptions.php
assertNothingReported
v11.4.0 から
static @method
static assertNothingReported(): void
-
v11.4.0
追加
- 変更後
@method static assertNothingReported(): void
assertNotReported
v11.4.0 から
static @method
static assertNotReported(\Closure|string $exception): void
-
v11.4.0
追加
- 変更後
@method static assertNotReported(\Closure|string $exception): void
-
v13.4.0
シグネチャ変更
- 変更前
@method static assertNotReported(\Closure|string $exception): void- 変更後
@method static assertNotReported(\Closure|string<\Throwable> $exception): void
-
v13.6.0
シグネチャ変更
- 変更前
@method static assertNotReported(\Closure|string<\Throwable> $exception): void- 変更後
@method static assertNotReported(\Closure|string $exception): void
assertReported
v11.4.0 から
static @method
static assertReported(\Closure|string $exception): void
-
v11.4.0
追加
- 変更後
@method static assertReported(\Closure|string $exception): void
-
v13.4.0
シグネチャ変更
- 変更前
@method static assertReported(\Closure|string $exception): void- 変更後
@method static assertReported(\Closure|string<\Throwable> $exception): void
-
v13.6.0
シグネチャ変更
- 変更前
@method static assertReported(\Closure|string<\Throwable> $exception): void- 変更後
@method static assertReported(\Closure|string $exception): void
assertReportedCount
v11.4.0 から
static @method
static assertReportedCount(int $count): void
-
v11.4.0
追加
- 変更後
@method static assertReportedCount(int $count): void
buildContextForException
v13.6.0 から
static @method
static buildContextForException(\Throwable $e): array
-
v13.6.0
追加
- 変更後
@method static buildContextForException(\Throwable $e): array
buildContextUsing
v11.4.0 から
static @method
static buildContextUsing(\Closure $contextCallback): \Illuminate\Foundation\Exceptions\Handler
-
v11.4.0
追加
- 変更後
@method static buildContextUsing(\Closure $contextCallback): \Illuminate\Foundation\Exceptions\Handler
contextForException
v13.30.0 から
static @method
static contextForException(\Throwable $e): array
-
v13.30.0
追加
- 変更後
@method static contextForException(\Throwable $e): array
dontFlash
v11.4.0 から
static @method
static dontFlash(array|string $attributes): \Illuminate\Foundation\Exceptions\Handler
-
v11.4.0
追加
- 変更後
@method static dontFlash(array|string $attributes): \Illuminate\Foundation\Exceptions\Handler
dontReport
v11.4.0 から
static @method
static dontReport(array|string $exceptions): \Illuminate\Foundation\Exceptions\Handler
-
v11.4.0
追加
- 変更後
@method static dontReport(array|string $exceptions): \Illuminate\Foundation\Exceptions\Handler
dontReportDuplicates
v11.4.0 から
static @method
static dontReportDuplicates(): \Illuminate\Foundation\Exceptions\Handler
-
v11.4.0
追加
- 変更後
@method static dontReportDuplicates(): \Illuminate\Foundation\Exceptions\Handler
dontReportWhen
v12.21.0 から
static @method
static dontReportWhen(callable $dontReportWhen): \Illuminate\Foundation\Exceptions\Handler
-
v12.21.0
追加
- 変更後
@method static dontReportWhen(callable $dontReportWhen): \Illuminate\Foundation\Exceptions\Handler
dontRetry
v13.17.0 から
static @method
static dontRetry(array|string $exceptions): \Illuminate\Foundation\Exceptions\Handler
-
v13.17.0
追加
- 変更後
@method static dontRetry(array|string $exceptions): \Illuminate\Foundation\Exceptions\Handler
dontRetryWhen
v13.17.0 から
static @method
static dontRetryWhen(callable $dontRetryWhen): \Illuminate\Foundation\Exceptions\Handler
-
v13.17.0
追加
- 変更後
@method static dontRetryWhen(callable $dontRetryWhen): \Illuminate\Foundation\Exceptions\Handler
fake
v11.4.0 から
static
static fake(array|string $exceptions = [])
@param array<int, class-string<\Throwable>>|class-string<\Throwable> $exceptions
@return \Illuminate\Support\Testing\Fakes\ExceptionHandlerFake
-
v11.4.0
追加
- 変更後
static fake(array|string $exceptions = []) [@param array<int, class-string<\Throwable>>|class-string<\Throwable> $exceptions, @return \Illuminate\Support\Testing\Fakes\ExceptionHandlerFake]
handler
v11.4.0 から
static @method
static handler(): \Illuminate\Contracts\Debug\ExceptionHandler
-
v11.4.0
追加
- 変更後
@method static handler(): \Illuminate\Contracts\Debug\ExceptionHandler
ignore
v11.4.0 から
static @method
static ignore(array|string $exceptions): \Illuminate\Foundation\Exceptions\Handler
-
v11.4.0
追加
- 変更後
@method static ignore(array|string $exceptions): \Illuminate\Foundation\Exceptions\Handler
isReporting
v13.6.0 から
static @method
static isReporting(\Throwable $e): bool
-
v13.6.0
追加
- 変更後
@method static isReporting(\Throwable $e): bool
level
v11.4.0 から
static @method
static level(string $type, string $level): \Illuminate\Foundation\Exceptions\Handler
-
v11.4.0
追加
- 変更後
@method static level(string $type, void $level): \Illuminate\Foundation\Exceptions\Handler
-
v11.23.3
シグネチャ変更
- 変更前
@method static level(string $type, void $level): \Illuminate\Foundation\Exceptions\Handler- 変更後
@method static level(string $type, string $level): \Illuminate\Foundation\Exceptions\Handler
-
v13.4.0
シグネチャ変更
- 変更前
@method static level(string $type, string $level): \Illuminate\Foundation\Exceptions\Handler- 変更後
@method static level(string<\Throwable> $type, string $level): \Illuminate\Foundation\Exceptions\Handler
-
v13.6.0
シグネチャ変更
- 変更前
@method static level(string<\Throwable> $type, string $level): \Illuminate\Foundation\Exceptions\Handler- 変更後
@method static level(string $type, string $level): \Illuminate\Foundation\Exceptions\Handler
map
v11.4.0 から
static @method
static map(\Closure|string $from, \Closure|string|null $to = null): \Illuminate\Foundation\Exceptions\Handler
-
v11.4.0
追加
- 変更後
@method static map(\Closure|string $from, \Closure|string|null $to = null): \Illuminate\Foundation\Exceptions\Handler
register
v11.4.0 から
static @method
static register(): void
-
v11.4.0
追加
- 変更後
@method static register(): void
render
v11.4.0 から
static @method
static render(\Illuminate\Http\Request $request, \Throwable $e): \Symfony\Component\HttpFoundation\Response
-
v11.4.0
追加
- 変更後
@method static render(\Illuminate\Http\Request $request, \Throwable $e): \Symfony\Component\HttpFoundation\Response
renderable
v11.4.0 から
static @method
static renderable(callable $renderUsing): \Illuminate\Foundation\Exceptions\Handler
-
v11.4.0
追加
- 変更後
@method static renderable(callable $renderUsing): \Illuminate\Foundation\Exceptions\Handler
renderForConsole
v11.4.0 から
static @method
static renderForConsole(\Symfony\Component\Console\Output\OutputInterface $output, \Throwable $e): void
-
v11.4.0
追加
- 変更後
@method static renderForConsole(\Symfony\Component\Console\Output\OutputInterface $output, \Throwable $e): void
report
v11.4.0 から
static @method
static report(\Throwable $e): void
-
v11.4.0
追加
- 変更後
@method static report(\Throwable $e): void
reportable
v11.4.0 から
static @method
static reportable(callable $reportUsing): \Illuminate\Foundation\Exceptions\ReportableHandler
-
v11.4.0
追加
- 変更後
@method static reportable(callable $reportUsing): \Illuminate\Foundation\Exceptions\ReportableHandler
reported
v12.18.0 から
static @method
static reported(): array
respondUsing
v11.4.0 から
static @method
static respondUsing(callable $callback): \Illuminate\Foundation\Exceptions\Handler
-
v11.4.0
追加
- 変更後
@method static respondUsing(callable $callback): \Illuminate\Foundation\Exceptions\Handler
setHandler
v11.4.0 から
static @method
static setHandler(\Illuminate\Contracts\Debug\ExceptionHandler $handler): \Illuminate\Support\Testing\Fakes\ExceptionHandlerFake
-
v11.4.0
追加
- 変更後
@method static setHandler(\Illuminate\Contracts\Debug\ExceptionHandler $handler): \Illuminate\Support\Testing\Fakes\ExceptionHandlerFake
shouldRenderJsonWhen
v11.4.0 から
static @method
static shouldRenderJsonWhen(callable $callback): \Illuminate\Foundation\Exceptions\Handler
-
v11.4.0
追加
- 変更後
@method static shouldRenderJsonWhen(callable $callback): \Illuminate\Foundation\Exceptions\Handler
shouldReport
v11.4.0 から
static @method
static shouldReport(\Throwable $e): bool
-
v11.4.0
追加
- 変更後
@method static shouldReport(\Throwable $e): bool
shouldStopRetries
v13.17.0 から
static @method
static shouldStopRetries(\Throwable $e): bool
-
v13.17.0
追加
- 変更後
@method static shouldStopRetries(\Throwable $e): bool
stopIgnoring
v11.4.0 から
static @method
static stopIgnoring(array|string $exceptions): \Illuminate\Foundation\Exceptions\Handler
-
v11.4.0
追加
- 変更後
@method static stopIgnoring(array|string $exceptions): \Illuminate\Foundation\Exceptions\Handler
throttleUsing
v11.4.0 から
static @method
static throttleUsing(callable $throttleUsing): \Illuminate\Foundation\Exceptions\Handler
-
v11.4.0
追加
- 変更後
@method static throttleUsing(callable $throttleUsing): \Illuminate\Foundation\Exceptions\Handler
throwFirstReported
v11.4.0 から
static @method
static throwFirstReported(): \Illuminate\Support\Testing\Fakes\ExceptionHandlerFake
-
v11.4.0
追加
- 変更後
@method static throwFirstReported(): \Illuminate\Support\Testing\Fakes\ExceptionHandlerFake
throwOnReport
v11.23.3 から
static @method
static throwOnReport(): \Illuminate\Support\Testing\Fakes\ExceptionHandlerFake
-
v11.23.3
追加
- 変更後
@method static throwOnReport(): \Illuminate\Support\Testing\Fakes\ExceptionHandlerFake