I18nException
extends FrameworkException
in package
I18nException
Table of Contents
- __construct() : mixed
- Tweaks the exception's constructor to assign the file/line to where it is actually raised rather than were it is instantiated.
- forCopyError() : mixed
- forEnabledZlibOutputCompression() : mixed
- forFabricatorCreateFailed() : mixed
- forInvalidDay() : static
- Thrown when the supplied day falls outside the range of allowed days.
- forInvalidFile() : mixed
- forInvalidFormat() : static
- Thrown when createFromFormat fails to receive a valid DateTime back from DateTime::createFromFormat.
- forInvalidHour() : static
- Thrown when the supplied hour falls outside the range of allowed hours.
- forInvalidMinutes() : static
- Thrown when the supplied minutes falls outside the range of allowed minutes.
- forInvalidMonth() : static
- Thrown when the numeric representation of the month falls outside the range of allowed months.
- forInvalidOverDay() : static
- Thrown when the day provided falls outside the allowed last day for the given month.
- forInvalidSeconds() : static
- Thrown when the supplied seconds falls outside the range of allowed seconds.
- forMissingExtension() : mixed
- forNoHandlers() : mixed
Methods
__construct()
Tweaks the exception's constructor to assign the file/line to where it is actually raised rather than were it is instantiated.
public
final __construct([string $message = '' ], int $code[, Throwable|null $previous = null ]) : mixed
Parameters
- $message : string = ''
- $code : int
- $previous : Throwable|null = null
Return values
mixed —forCopyError()
public
static forCopyError(string $path) : mixed
Parameters
- $path : string
Return values
mixed —forEnabledZlibOutputCompression()
public
static forEnabledZlibOutputCompression() : mixed
Return values
mixed —forFabricatorCreateFailed()
public
static forFabricatorCreateFailed(string $table, string $reason) : mixed
Parameters
- $table : string
- $reason : string
Return values
mixed —forInvalidDay()
Thrown when the supplied day falls outside the range of allowed days.
public
static forInvalidDay(string $day) : static
Parameters
- $day : string
Return values
static —forInvalidFile()
public
static forInvalidFile(string $path) : mixed
Parameters
- $path : string
Return values
mixed —forInvalidFormat()
Thrown when createFromFormat fails to receive a valid DateTime back from DateTime::createFromFormat.
public
static forInvalidFormat(string $format) : static
Parameters
- $format : string
Return values
static —forInvalidHour()
Thrown when the supplied hour falls outside the range of allowed hours.
public
static forInvalidHour(string $hour) : static
Parameters
- $hour : string
Return values
static —forInvalidMinutes()
Thrown when the supplied minutes falls outside the range of allowed minutes.
public
static forInvalidMinutes(string $minutes) : static
Parameters
- $minutes : string
Return values
static —forInvalidMonth()
Thrown when the numeric representation of the month falls outside the range of allowed months.
public
static forInvalidMonth(string $month) : static
Parameters
- $month : string
Return values
static —forInvalidOverDay()
Thrown when the day provided falls outside the allowed last day for the given month.
public
static forInvalidOverDay(string $lastDay, string $day) : static
Parameters
- $lastDay : string
- $day : string
Return values
static —forInvalidSeconds()
Thrown when the supplied seconds falls outside the range of allowed seconds.
public
static forInvalidSeconds(string $seconds) : static
Parameters
- $seconds : string
Return values
static —forMissingExtension()
public
static forMissingExtension(string $extension) : mixed
Parameters
- $extension : string
Return values
mixed —forNoHandlers()
public
static forNoHandlers(string $class) : mixed
Parameters
- $class : string