| Methods |
public
static
|
conversionFailed(mixed $value, string $toType, ?Throwable $previous = null): ConversionException
Thrown when a Database to Doctrine Type Conversion fails.
Thrown when a Database to Doctrine Type Conversion fails.
|
#
|
public
static
|
conversionFailedFormat(
mixed $value,
string $toType,
string $expectedFormat,
?Throwable $previous = null,
): ConversionException
Thrown when a Database to Doctrine Type Conversion fails and we can make a statement
about the expected format.
Thrown when a Database to Doctrine Type Conversion fails and we can make a statement
about the expected format.
|
#
|
public
static
|
conversionFailedInvalidType(
mixed $value,
string $toType,
string[] $possibleTypes,
?Throwable $previous = null,
): ConversionException
Thrown when the PHP value passed to the converter was not of the expected type.
Thrown when the PHP value passed to the converter was not of the expected type.
|
#
|
public
static
|
conversionFailedSerialization(mixed $value, string $format, string $error): ConversionException
|
#
|
public
static
|
conversionFailedUnserialization(string $format, string $error): self
|
#
|