MappingFailed
extends LogicException
in package
implements
SerializationFailed
FinalYes
Table of Contents
Interfaces
Methods
- dueToInvalidCastingArguments() : self
- dueToInvalidTypeCastingClass() : self
- dueToTypeCastingUnsupportedType() : self
- dueToUnsupportedType() : self
Methods
dueToInvalidCastingArguments()
public
static dueToInvalidCastingArguments([Throwable|null $exception = null ]) : self
Parameters
- $exception : Throwable|null = null
Return values
selfdueToInvalidTypeCastingClass()
public
static dueToInvalidTypeCastingClass(string $typeCaster) : self
Parameters
- $typeCaster : string
Return values
selfdueToTypeCastingUnsupportedType()
public
static dueToTypeCastingUnsupportedType(ReflectionProperty|ReflectionParameter $reflectionProperty, TypeCasting $typeCasting, string ...$types) : self
Parameters
- $reflectionProperty : ReflectionProperty|ReflectionParameter
- $typeCasting : TypeCasting
- $types : string
Return values
selfdueToUnsupportedType()
public
static dueToUnsupportedType(ReflectionProperty|ReflectionParameter $reflectionProperty) : self
Parameters
- $reflectionProperty : ReflectionProperty|ReflectionParameter