class CurrentPassword implements ParameterizedRule (View source)

Traits

Properties

protected string|null $guard

Methods

string
__toString()

Convert the rule to a validation string.

string
formatParameters(array $parameters)

Format parameters for a legacy validation rule string.

guard(string $guard)

Specify the authentication guard.

array
toArray()

Get the rule name followed by its parameters.

Details

string __toString()

Convert the rule to a validation string.

Return Value

string

protected string formatParameters(array $parameters)

Format parameters for a legacy validation rule string.

Parameters

array $parameters

Return Value

string

CurrentPassword guard(string $guard)

Specify the authentication guard.

Parameters

string $guard

Return Value

CurrentPassword

array toArray()

Get the rule name followed by its parameters.

Return Value

array