ExceptionHandlerFake
Illuminate\Support\Testing\Fakes\ExceptionHandlerFake
class src/Illuminate/Support/Testing/Fakes/ExceptionHandlerFake.php
__call
v11.4.0 から
__call(string $method, array $parameters)
@param string $method
@param array<string, mixed> $parameters
@return mixed
-
v11.4.0
追加
- 変更後
__call(string $method, array $parameters) [@param string $method, @param array<string, mixed> $parameters, @return mixed]
__construct
v11.4.0 から
__construct(Illuminate\Contracts\Debug\ExceptionHandler $handler, array $exceptions = [])
@param \Illuminate\Contracts\Debug\ExceptionHandler $handler
@param list<class-string<\Throwable>> $exceptions
-
v11.4.0
追加
- 変更後
__construct(Illuminate\Contracts\Debug\ExceptionHandler $handler, array $exceptions = []) [@param \Illuminate\Contracts\Debug\ExceptionHandler $handler, @param array<int, class-string<\Throwable>> $exceptions, @return void]
-
v11.44.0
シグネチャ変更
- 変更前
__construct(Illuminate\Contracts\Debug\ExceptionHandler $handler, array $exceptions = []) [@param \Illuminate\Contracts\Debug\ExceptionHandler $handler, @param array<int, class-string<\Throwable>> $exceptions, @return void]- 変更後
__construct(Illuminate\Contracts\Debug\ExceptionHandler $handler, array $exceptions = []) [@param \Illuminate\Contracts\Debug\ExceptionHandler $handler, @param list<class-string<\Throwable>> $exceptions, @return void]
-
v12.4.0
シグネチャ変更
- 変更前
__construct(Illuminate\Contracts\Debug\ExceptionHandler $handler, array $exceptions = []) [@param \Illuminate\Contracts\Debug\ExceptionHandler $handler, @param list<class-string<\Throwable>> $exceptions, @return void]- 変更後
__construct(Illuminate\Contracts\Debug\ExceptionHandler $handler, array $exceptions = []) [@param \Illuminate\Contracts\Debug\ExceptionHandler $handler, @param list<class-string<\Throwable>> $exceptions]
assertNothingReported
v11.4.0 から
assertNothingReported()
@return void
-
v11.4.0
追加
- 変更後
assertNothingReported() [@return void]
assertNotReported
v11.4.0 から
assertNotReported(Closure|string $exception)
@param (\Closure(\Throwable): bool)|class-string<\Throwable> $exception
@return void
-
v11.4.0
追加
- 変更後
assertNotReported(Closure|string $exception) [@param \Closure|string $exception, @return void]
-
v11.44.0
シグネチャ変更
- 変更前
assertNotReported(Closure|string $exception) [@param \Closure|string $exception, @return void]- 変更後
assertNotReported(Closure|string $exception) [@param (\Closure(\Throwable): bool)|class-string<\Throwable> $exception, @return void]
assertReported
v11.4.0 から
assertReported(Closure|string $exception)
@param (\Closure(\Throwable): bool)|class-string<\Throwable> $exception
@return void
-
v11.4.0
追加
- 変更後
assertReported(Closure|string $exception) [@param \Closure|string $exception, @return void]
-
v11.44.0
シグネチャ変更
- 変更前
assertReported(Closure|string $exception) [@param \Closure|string $exception, @return void]- 変更後
assertReported(Closure|string $exception) [@param (\Closure(\Throwable): bool)|class-string<\Throwable> $exception, @return void]
assertReportedCount
v11.4.0 から
assertReportedCount(int $count)
@param int $count
@return void
-
v11.4.0
追加
- 変更後
assertReportedCount(int $count) [@param int $count, @return void]
handler
v11.4.0 から
handler()
@return \Illuminate\Contracts\Debug\ExceptionHandler
-
v11.4.0
追加
- 変更後
handler() [@return \Illuminate\Contracts\Debug\ExceptionHandler]
render
v11.4.0 から
render($request, $e)
@param \Illuminate\Http\Request $request
@param \Throwable $e
@return \Symfony\Component\HttpFoundation\Response
-
v11.4.0
追加
- 変更後
render($request, $e) [@param \Illuminate\Http\Request $request, @param \Throwable $e, @return \Symfony\Component\HttpFoundation\Response]
renderForConsole
v11.4.0 から
renderForConsole($output, Throwable $e)
@param \Symfony\Component\Console\Output\OutputInterface $output
@param \Throwable $e
@return void
-
v11.4.0
追加
- 変更後
renderForConsole($output, Throwable $e) [@param \Symfony\Component\Console\Output\OutputInterface $output, @param \Throwable $e, @return void]
report
v11.4.0 から
report($e)
@param \Throwable $e
@return void
-
v11.4.0
追加
- 変更後
report($e) [@param \Throwable $e, @return void]
reported
v12.18.0 から
reported()
@return list<\Throwable>
-
v12.18.0
追加
- 変更後
reported() [@return list<\Throwable>]
setHandler
v11.4.0 から
setHandler(Illuminate\Contracts\Debug\ExceptionHandler $handler)
@param \Illuminate\Contracts\Debug\ExceptionHandler $handler
@return $this
-
v11.4.0
追加
- 変更後
setHandler(Illuminate\Contracts\Debug\ExceptionHandler $handler) [@param \Illuminate\Contracts\Debug\ExceptionHandler $handler, @return $this]
shouldReport
v11.4.0 から
shouldReport($e)
@param \Throwable $e
@return bool
-
v11.4.0
追加
- 変更後
shouldReport($e) [@param \Throwable $e, @return bool]
throwFirstReported
v11.4.0 から
throwFirstReported()
@return $this
-
v11.4.0
追加
- 変更後
throwFirstReported() [@return $this]
throwOnReport
v11.4.0 から
throwOnReport()
@return $this
-
v11.4.0
追加
- 変更後
throwOnReport() [@return $this]