MaxDecimalPlaces
class MaxDecimalPlaces implements Rule (View source)
Properties
protected | $maxDecimals |
Methods
__construct($maxDecimals = 2)
No description
bool
passes(string $attribute, mixed $value)
Determine if the validation rule passes.
string
message()
Get the validation error message.
Details
__construct($maxDecimals = 2)
No description
bool
passes(string $attribute, mixed $value)
Determine if the validation rule passes.
string
message()
Get the validation error message.