mirror of
https://github.com/10h30/Test-Laravel-Validation.git
synced 2026-07-16 21:33:12 +09:00
Task 9 - your own validation rule
This commit is contained in:
@@ -96,3 +96,11 @@ Test method `test_custom_error_message()`.
|
||||
|
||||
---
|
||||
|
||||
## Task 9. Your Own Validation Rule.
|
||||
|
||||
In `app/Http/Controllers/ArticleController.php` file, in `store` method, the code uses `Uppercase` validation rule that you need to create with Artisan command, and fill in with the rule of "title" having first letter as uppercase.
|
||||
|
||||
Test method `test_custom_validation_rule()`.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user