Exemplo n.º 1
0
 public function isMandatory()
 {
     $m1 = $this->v1 instanceof MandatoryValidatorInterface ? $this->v1->isMandatory() : TRUE;
     $m2 = $this->v2 instanceof MandatoryValidatorInterface ? $this->v2->isMandatory() : TRUE;
     return $m1 && $m2;
 }