class InvalidArgumentHelper (View source)

Factory for PHPUnit\Framework\Exception objects that are used to describe invalid arguments passed to a function or method.

Methods

static Exception
factory(int $argument, string $type, mixed $value = null)

No description

Details

static Exception factory(int $argument, string $type, mixed $value = null)

Parameters

int $argument
string $type
mixed $value

Return Value

Exception