Timezone
class Timezone implements ParameterizedRule
Traits
Methods
array
formatConditionalValues(array $values)
Format conditional comparison values without rounding floats.
from
FormatsParameters
string
formatParameters(array $parameters)
Format parameters for a legacy validation rule string.
from
FormatsParameters
__construct(array|null $arguments = null)
Create a new timezone rule instance.
array
toArray()
Get the rule name followed by its parameters.
Details
in
FormatsParameters at line 12
string
__toString()
Convert the rule to a validation string.
in
FormatsParameters at line 25
protected array
formatConditionalValues(array $values)
Format conditional comparison values without rounding floats.
in
FormatsParameters at line 40
protected string
formatParameters(array $parameters)
Format parameters for a legacy validation rule string.
at line 17
__construct(array|null $arguments = null)
Create a new timezone rule instance.
at line 24
array
toArray()
Get the rule name followed by its parameters.