trait ConfirmedRule (View source)

Methods

void
compileConfirmed(string $key, string $masque)

Compile Confirmed Rule

Details

protected void compileConfirmed(string $key, string $masque)

Compile Confirmed Rule

[confirmed] Check that the field matches a sibling field named <key>_confirmation. Common pattern for password / email confirmation.

Parameters

string $key
string $masque

Return Value

void