UnexpectedTypeException
class UnexpectedTypeException extends InvalidArgumentException
Thrown when a method argument had an unexpected type.
Methods
__construct($value, string $expectedType) |
Details
__construct($value, string $expectedType)
Parameters
$value | ||
string | $expectedType |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Intl/Exception/UnexpectedTypeException.html