Esempio n. 1
0
 public function getRule(WebforgeType $type)
 {
     if (!$type instanceof \Webforge\Types\ValidationType) {
         throw new TypeExportException($type . ' muss das Interface ValidationType implementieren');
     }
     return $type->getValidatorRule($this);
 }