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