-
-
Save parzibyte/ad31b11b91431e0fd9f277c8efa16698 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Get the validation rules that apply to the request. | |
* | |
* @return array<string, mixed> | |
*/ | |
public function rules() | |
{ | |
return [ | |
"name" => "required", | |
"email" => "email:rfc", | |
"password" => "required", | |
"passwordConfirm" => "required|same:password", | |
"rol" => "required", | |
]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment