class GreaterThan implements Rule

Properties

protected mixed $compare

The value to compare.

Methods

__construct($compare)

Create a new instance.

bool
passes(string $attribute, mixed $value)

Determine if the validation rule passes.

string
message()

Get the validation error message.

Details

at line 19
__construct($compare)

Create a new instance.

Parameters

$compare

at line 31
bool passes(string $attribute, mixed $value)

Determine if the validation rule passes.

Parameters

string $attribute
mixed $value

Return Value

bool

at line 41
string message()

Get the validation error message.

Return Value

string