class UnexpectedTypeException extends RuntimeException
Thrown when a value does not match an expected type.
__construct(mixed $value, PropertyPathInterface $path, int $pathIndex) |
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 |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/PropertyAccess/Exception/UnexpectedTypeException.html