mainMessage()
public méthode
Gets the main error message for the validation.
public mainMessage ( string | null $value = null ) : Validation | string |
$value |
string | null |
Pass a new main message or null to get the current main message. |
Résultat |
Validation | string |
Returns the main message or $this for fluent sets. |