class UnexpectedTypeException in Zircon Profile 8.0
Same name in this branch
- 8.0 vendor/symfony/validator/Exception/UnexpectedTypeException.php \Symfony\Component\Validator\Exception\UnexpectedTypeException
- 8.0 vendor/symfony/http-foundation/File/Exception/UnexpectedTypeException.php \Symfony\Component\HttpFoundation\File\Exception\UnexpectedTypeException
Same name and namespace in other branches
- 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
- class \Symfony\Component\HttpFoundation\File\Exception\UnexpectedTypeException
Expanded class hierarchy of UnexpectedTypeException
File
- vendor/
symfony/ http-foundation/ File/ Exception/ UnexpectedTypeException.php, line 14
Namespace
Symfony\Component\HttpFoundation\File\ExceptionView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
UnexpectedTypeException:: |
public | function |