Exceptions

Illuminate\Foundation\Configuration\Exceptions

class src/Illuminate/Foundation/Configuration/Exceptions.php

__construct

v11.0.0 以前から

__construct(Illuminate\Foundation\Exceptions\Handler $handler)
@param \Illuminate\Foundation\Exceptions\Handler $handler
  1. v11.0.0 追加
    変更後
    __construct(Illuminate\Foundation\Exceptions\Handler $handler) [@param \Illuminate\Foundation\Exceptions\Handler $handler, @return void]
  2. v12.4.0 シグネチャ変更
    変更前
    __construct(Illuminate\Foundation\Exceptions\Handler $handler) [@param \Illuminate\Foundation\Exceptions\Handler $handler, @return void]
    変更後
    __construct(Illuminate\Foundation\Exceptions\Handler $handler) [@param \Illuminate\Foundation\Exceptions\Handler $handler]

context

v11.0.0 以前から

context(Closure $contextCallback)
@param \Closure $contextCallback
@return $this
  1. v11.0.0 追加
    変更後
    context(Closure $contextCallback) [@param \Closure $contextCallback, @return $this]

dontFlash

v11.0.0 以前から

dontFlash(array|string $attributes)
@param array|string $attributes
@return $this
  1. v11.0.0 追加
    変更後
    dontFlash(array|string $attributes) [@param array|string $attributes, @return $this]

dontReport

v11.0.0 以前から

dontReport(array|string $class)
@param array|string $class
@return $this
  1. v11.0.0 追加
    変更後
    dontReport(array|string $class) [@param array|string $class, @return $this]

dontReportDuplicates

v11.0.0 以前から

dontReportDuplicates()
@return $this
  1. v11.0.0 追加
    変更後
    dontReportDuplicates() [@return $this]

dontReportWhen

v12.21.0 から

dontReportWhen(Closure $dontReportWhen)
@param (\Closure(\Throwable): bool) $dontReportWhen
@return $this
  1. v12.21.0 追加
    変更後
    dontReportWhen(Closure $dontReportWhen) [@return $this]
  2. v12.22.0 シグネチャ変更
    変更前
    dontReportWhen(Closure $dontReportWhen) [@return $this]
    変更後
    dontReportWhen(Closure $dontReportWhen) [@param (\Closure(\Throwable): bool) $dontReportWhen, @return $this]

dontRetry

v13.17.0 から

dontRetry(array|string $class)
@param array|string $class
@return $this
  1. v13.17.0 追加
    変更後
    dontRetry(array|string $class) [@param array|string $class, @return $this]

dontRetryWhen

v13.17.0 から

dontRetryWhen(Closure $dontRetryWhen)
@param (\Closure(\Throwable): bool) $dontRetryWhen
@return $this
  1. v13.17.0 追加
    変更後
    dontRetryWhen(Closure $dontRetryWhen) [@param (\Closure(\Throwable): bool) $dontRetryWhen, @return $this]

dontTruncateRequestExceptions

v11.35.0 から

dontTruncateRequestExceptions()
@return $this
  1. v11.35.0 追加
    変更後
    dontTruncateRequestExceptions() [@return $this]

level

v11.0.0 以前から

level(string $type, string $level)
@param class-string<\Throwable> $type
@param \Psr\Log\LogLevel::* $level
@return $this
  1. v11.0.0 追加
    変更後
    level(string $type, string $level) [@param class-string<\Throwable> $type, @param \Psr\Log\LogLevel::* $level, @return $this]

map

v11.0.0 以前から

map($from, $to = null)
@param \Closure|string $from
@param \Closure|string|null $to
@return $this
  1. v11.0.0 追加
    変更後
    map($from, $to = null) [@param \Closure|string $from, @param \Closure|string|null $to, @return $this]

render

v11.0.0 以前から

render(callable $using)
@param callable $using
@return $this
  1. v11.0.0 追加
    変更後
    render(callable $using) [@param callable $using, @return $this]

renderable

v11.0.0 以前から

renderable(callable $renderUsing)
@param callable $renderUsing
@return $this
  1. v11.0.0 追加
    変更後
    renderable(callable $renderUsing) [@param callable $renderUsing, @return $this]

report

v11.0.0 以前から

report(callable $using)
@param callable $using
@return \Illuminate\Foundation\Exceptions\ReportableHandler
  1. v11.0.0 追加
    変更後
    report(callable $using) [@param callable $using, @return \Illuminate\Foundation\Exceptions\ReportableHandler]

reportable

v11.0.0 以前から

reportable(callable $reportUsing)
@param callable $reportUsing
@return \Illuminate\Foundation\Exceptions\ReportableHandler
  1. v11.0.0 追加
    変更後
    reportable(callable $reportUsing) [@param callable $reportUsing, @return \Illuminate\Foundation\Exceptions\ReportableHandler]

respond

v11.0.0 以前から

respond(callable $using)
@param callable $using
@return $this
  1. v11.0.0 追加
    変更後
    respond(callable $using) [@param callable $using, @return $this]

shouldRenderJsonWhen

v11.0.0 以前から

shouldRenderJsonWhen(callable $callback)
@param callable(\Illuminate\Http\Request $request, \Throwable): bool $callback
@return $this
  1. v11.0.0 追加
    変更後
    shouldRenderJsonWhen(callable $callback) [@param callable(\Illuminate\Http\Request $request, \Throwable): bool $callback, @return $this]

stopIgnoring

v11.0.0 以前から

stopIgnoring(array|string $class)
@param array<int, class-string<\Throwable>>|class-string<\Throwable> $class
@return $this
  1. v11.0.0 追加
    変更後
    stopIgnoring(array|string $class) [@param array<int, class-string<\Throwable>>|class-string<\Throwable> $class, @return $this]

throttle

v11.0.0 以前から

throttle(callable $throttleUsing)
@param callable $throttleUsing
@return $this
  1. v11.0.0 追加
    変更後
    throttle(callable $throttleUsing) [@param callable $throttleUsing, @return $this]

truncateRequestExceptionsAt

v11.35.0 から

truncateRequestExceptionsAt(int $length)
@param int $length
@return $this
  1. v11.35.0 追加
    変更後
    truncateRequestExceptionsAt(int $length) [@param int $length, @return $this]