You are here

class UnexpectedTypeException in Zircon Profile 8.0

Same name in this branch
  1. 8.0 vendor/symfony/validator/Exception/UnexpectedTypeException.php \Symfony\Component\Validator\Exception\UnexpectedTypeException
  2. 8.0 vendor/symfony/http-foundation/File/Exception/UnexpectedTypeException.php \Symfony\Component\HttpFoundation\File\Exception\UnexpectedTypeException
Same name and namespace in other branches
  1. 8 vendor/symfony/http-foundation/File/Exception/UnexpectedTypeException.php \Symfony\Component\HttpFoundation\File\Exception\UnexpectedTypeException

Hierarchy

  • class \Symfony\Component\HttpFoundation\File\Exception\FileException extends \Symfony\Component\HttpFoundation\File\Exception\RuntimeException

Expanded class hierarchy of UnexpectedTypeException

File

vendor/symfony/http-foundation/File/Exception/UnexpectedTypeException.php, line 14

Namespace

Symfony\Component\HttpFoundation\File\Exception
View source
class UnexpectedTypeException extends FileException {
  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