symfony / 4.0 / symfony / component / form / exception / unexpectedtypeexception.html

UnexpectedTypeException

class UnexpectedTypeException extends InvalidArgumentException

Methods

__construct($value, string $expectedType)

Details

__construct($value, string $expectedType)

Parameters

$value
string $expectedType

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