Пример #1
0
 public function applyTo($targetValue)
 {
     $max = new MaxLength($this->condition);
     $min = new MinLength($this->condition);
     return $max->applyTo($targetValue) & $min->applyTo($targetValue);
 }