Validate
INFO
This page will describe how validation can be used in a controller.
Examples
Validate
yaml
arch: 1.0.0
definitions:
controllers:
web:
User:
methods:
index:
- validate: post
Validate (Multiple Fields)
yaml
arch: 1.0.0
definitions:
controllers:
web:
User:
methods:
index:
- validate: title, content, author_id