You are here

class UnexpectedTypeException in Plug 7

Hierarchy

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

... See full list

File

lib/Symfony/validator/Symfony/Component/Validator/Exception/UnexpectedTypeException.php, line 14

Namespace

Symfony\Component\Validator\Exception
View 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