use Cake\Validation\Validator; $validator = new Validator();. Once created, you can start defining sets of rules for the fields you want to validate: // ...
確定! 回上一頁