PHP Class eZ\Publish\Core\Base\Exceptions\InvalidArgumentValue

Usage: throw new InvalidArgument( 'nodes', 'array' );
Inheritance: extends InvalidArgumentException
ファイルを表示 Open project: ezsystems/ezpublish-kernel Class Usage Examples

Public Methods

Method Description
__construct ( string $argumentName, mixed $value, string | null $className = null, Exception $previous = null ) Generates: "Argument '{$argumentName}' is invalid: '{$value}' is wrong value[ in class '{$className}']".

Method Details

__construct() public method

Generates: "Argument '{$argumentName}' is invalid: '{$value}' is wrong value[ in class '{$className}']".
public __construct ( string $argumentName, mixed $value, string | null $className = null, Exception $previous = null )
$argumentName string
$value mixed
$className string | null Optionally to specify class in abstract/parent classes
$previous Exception