UnexpectedTypeException

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
在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部