class UnexpectedTypeException in Zircon Profile 8
Same name in this branch
- 8 vendor/symfony/validator/Exception/UnexpectedTypeException.php \Symfony\Component\Validator\Exception\UnexpectedTypeException
- 8 vendor/symfony/http-foundation/File/Exception/UnexpectedTypeException.php \Symfony\Component\HttpFoundation\File\Exception\UnexpectedTypeException
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Exception/UnexpectedTypeException.php \Symfony\Component\Validator\Exception\UnexpectedTypeException
Hierarchy
- class \Symfony\Component\Validator\Exception\RuntimeException implements ExceptionInterface
- class \Symfony\Component\Validator\Exception\RuntimeException implements ExceptionInterface
- class \Symfony\Component\Validator\Exception\ValidatorException
- class \Symfony\Component\Validator\Exception\UnexpectedTypeException
- class \Symfony\Component\Validator\Exception\ValidatorException
- class \Symfony\Component\Validator\Exception\RuntimeException implements ExceptionInterface
Expanded class hierarchy of UnexpectedTypeException
37 files declare their use of UnexpectedTypeException
- AbstractComparisonValidator.php in vendor/
symfony/ validator/ Constraints/ AbstractComparisonValidator.php - AllValidator.php in vendor/
symfony/ validator/ Constraints/ AllValidator.php - BlankValidator.php in vendor/
symfony/ validator/ Constraints/ BlankValidator.php - CallbackValidator.php in vendor/
symfony/ validator/ Constraints/ CallbackValidator.php - CardSchemeValidator.php in vendor/
symfony/ validator/ Constraints/ CardSchemeValidator.php
File
- vendor/
symfony/ validator/ Exception/ UnexpectedTypeException.php, line 14
Namespace
Symfony\Component\Validator\ExceptionView source
class UnexpectedTypeException extends ValidatorException {
public function __construct($value, $expectedType) {
parent::__construct(sprintf('Expected argument of type "%s", "%s" given', $expectedType, is_object($value) ? get_class($value) : gettype($value)));
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
UnexpectedTypeException:: |
public | function |