Class

eZ\Publish\Core\Base\Exceptions\InvalidArgumentException

class InvalidArgumentException extends InvalidArgumentException implements Translatable

Invalid Argument Type Exception implementation.

Usage: throw new InvalidArgumentException( 'nodes', 'array' );

Methods

__construct(string $argumentName, string $whatIsWrong, Exception $previous = null)

Generates: "Argument '{$argumentName}' is invalid: {$whatIsWrong}".

Details

at line 32
public __construct(string $argumentName, string $whatIsWrong, Exception $previous = null)

Generates: "Argument '{$argumentName}' is invalid: {$whatIsWrong}".

Parameters

string $argumentName
string $whatIsWrong
Exception $previous