class UnexpectedTypeException extends RuntimeException

Thrown when a value does not match an expected type.

Methods

__construct(mixed $value, PropertyPathInterface $path, int $pathIndex)

No description

Details

at line 28
__construct(mixed $value, PropertyPathInterface $path, int $pathIndex)

Parameters

mixed $value The unexpected value found while traversing property path
PropertyPathInterface $path The property path
int $pathIndex The property path index when the unexpected value was found