Uuid
class Uuid implements ParameterizedRule (View source)
Traits
Properties
| protected int<0, 8>|"nil"|"max"|null | $version |
Methods
string
formatParameters(array $parameters)
Format parameters for a legacy validation rule string.
from
FormatsParameters
array
toArray()
Get the rule name followed by its parameters.
Details
string
__toString()
Convert the rule to a validation string.
protected string
formatParameters(array $parameters)
Format parameters for a legacy validation rule string.
Uuid
version(int|string $version)
Specify the UUID version.
array
toArray()
Get the rule name followed by its parameters.