示例#1
0
 public function notifyRule(Rule $rule)
 {
     if (is_string($rule->operation) && strcasecmp($rule->operation, ':hasSuffix') === 0 && !$rule->isNegative) {
         $this->control->hasSuffix = $rule->arg;
     }
     parent::notifyRule($rule);
 }