Documentation

MappingFailed extends LogicException
in package
implements SerializationFailed

FinalYes

Table of Contents

Interfaces

SerializationFailed

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
self

dueToInvalidTypeCastingClass()

public static dueToInvalidTypeCastingClass(string $typeCaster) : self
Parameters
$typeCaster : string
Return values
self

dueToTypeCastingUnsupportedType()

public static dueToTypeCastingUnsupportedType(ReflectionProperty|ReflectionParameter $reflectionProperty, TypeCasting $typeCasting, string ...$types) : self
Parameters
$reflectionProperty : ReflectionProperty|ReflectionParameter
$typeCasting : TypeCasting
$types : string
Return values
self

dueToUnsupportedType()

public static dueToUnsupportedType(ReflectionProperty|ReflectionParameter $reflectionProperty) : self
Parameters
$reflectionProperty : ReflectionProperty|ReflectionParameter
Return values
self

        
On this page

Search results