symfony / 3.1 / symfony / component / validator / exception / unexpectedtypeexception.html

UnexpectedTypeException

class UnexpectedTypeException extends ValidatorException

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.1/Symfony/Component/Validator/Exception/UnexpectedTypeException.html