symfony / 3.4 / symfony / component / intl / exception / unexpectedtypeexception.html

UnexpectedTypeException

class UnexpectedTypeException extends InvalidArgumentException

Thrown when a method argument had an unexpected type.

Methods

__construct($value, $expectedType)

Details

__construct($value, $expectedType)

Parameters

$value
$expectedType

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.4/Symfony/Component/Intl/Exception/UnexpectedTypeException.html