CurrencyRule
implements
Rule
Table of Contents
Interfaces
- Rule
Properties
-
$isPriceError
: bool
Methods
-
message()
: string
-
passes()
: bool
-
isValidCurrencyValue()
: bool
-
isValidPriceValue()
: bool
$isPriceError
protected
bool
$isPriceError
= false
message()
public
message() : string
passes()
public
passes(mixed $attribute, mixed $value) : bool
Parameters
-
$attribute
: mixed
-
-
$value
: mixed
-
isValidCurrencyValue()
protected
isValidCurrencyValue(array<string|int, mixed>|null $value) : bool
Parameters
-
$value
: array<string|int, mixed>|null
-
isValidPriceValue()
protected
isValidPriceValue(string|null $value) : bool
Parameters
-
$value
: string|null
-