示例#1
1
 public function buildRules(RulesChecker $rules)
 {
     $rules->add([$this, 'ruleRoleChange']);
     $rules->addUpdate([$this, 'ruleMatchingModified']);
     $rules->addDelete([$this, 'ruleNoCharacters']);
     return $rules;
 }