UnexpectedTypeException
extends RuntimeException
in package
Thrown when a value does not match an expected type.
Tags
Table of Contents
- __construct() : mixed
Methods
__construct()
public
__construct(mixed $value, PropertyPathInterface $path, int $pathIndex) : mixed
Parameters
- $value : mixed
-
The unexpected value found while traversing property path
- $path : PropertyPathInterface
- $pathIndex : int
-
The property path index when the unexpected value was found