class UnexpectedTypeException in Plug 7
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
36 files declare their use of UnexpectedTypeException
- AbstractComparisonValidator.php in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Constraints/ AbstractComparisonValidator.php - AllValidator.php in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Constraints/ AllValidator.php - BlankValidator.php in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Constraints/ BlankValidator.php - CallbackValidator.php in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Constraints/ CallbackValidator.php - CardSchemeValidator.php in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Constraints/ CardSchemeValidator.php
File
- lib/
Symfony/ validator/ Symfony/ Component/ 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 |