Méthode | Description | |
---|---|---|
add ( string $key, string $message ) | Add a message to the bag. | |
errors ( ) : Illuminate\Support\MessageBag | Retrieve validation errors | |
getData ( ) : array | Get the stored data | |
passes ( ) : boolean | Test if validation passes | |
validForCreate ( ) : boolean | Test if validation passes before create | |
validForUpdate ( ) : boolean | Test if validation passes before update | |
with ( array $input ) | Add data to validation against |
public errors ( ) : Illuminate\Support\MessageBag | ||
Résultat | Illuminate\Support\MessageBag |
public validForCreate ( ) : boolean | ||
Résultat | boolean |
public validForUpdate ( ) : boolean | ||
Résultat | boolean |