Documentation

InvalidTypeException extends InvalidArgumentException
in package

Thrown when a type of given value does not match an expected type.

Tags
author

Farhad Safarov farhad.safarov@gmail.com

Table of Contents

Properties

$actualType  : string
$expectedType  : string
$propertyPath  : string

Methods

__construct()  : mixed

Properties

Methods

__construct()

public __construct(string $expectedType, string $actualType, string $propertyPath[, Throwable|null $previous = null ]) : mixed
Parameters
$expectedType : string
$actualType : string
$propertyPath : string
$previous : Throwable|null = null

        
On this page

Search results