PHP Класс eZ\Publish\Core\Base\Exceptions\InvalidArgumentType

Usage: throw new InvalidArgument( 'nodes', 'array' );
Наследование: extends InvalidArgumentException
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( string $argumentName, string $expectedType, mixed | null $value = null, Exception $previous = null ) Generates: "Argument '{$argumentName}' is invalid: expected value to be of type '{$expectedType}'[, got '{$value}']".

Описание методов

__construct() публичный метод

Generates: "Argument '{$argumentName}' is invalid: expected value to be of type '{$expectedType}'[, got '{$value}']".
public __construct ( string $argumentName, string $expectedType, mixed | null $value = null, Exception $previous = null )
$argumentName string
$expectedType string
$value mixed | null Optionally to output the type that was received
$previous Exception