class InvalidArgumentException extends Exception (View source)

Methods

create(int $argument, string $type)

Creates a new exception for an invalid argument.

Details

static InvalidArgumentException create(int $argument, string $type)

Creates a new exception for an invalid argument.

Parameters

int $argument
string $type

Return Value

InvalidArgumentException