\Symfony\Component\PropertyAccess\ExceptionUnexpectedTypeException

Thrown when a value does not match an expected type.

Summary

Methods
Properties
Constants
__construct()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(mixed  $value, \Symfony\Component\PropertyAccess\PropertyPathInterface  $path, int  $pathIndex) : mixed

Parameters

mixed $value

The unexpected value found while traversing property path

\Symfony\Component\PropertyAccess\PropertyPathInterface $path
int $pathIndex

The property path index when the unexpected value was found

Returns

mixed —