class LessThan implementsRule

Properties

protectedmixed $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 line19
__construct($compare)

Create a new instance.

Parameters

$compare

at line31
bool passes(string$attribute,mixed$value)

Determine if the validation rule passes.

Parameters

string $attribute
mixed $value

Return Value

bool

at line41
string message()

Get the validation error message.

Return Value

string