コード例 #1
0
ファイル: TypeRuleMapper.php プロジェクト: pscheit/psc-cms
 public function getRule(WebforgeType $type)
 {
     if (!$type instanceof \Webforge\Types\ValidationType) {
         throw new TypeExportException($type . ' muss das Interface ValidationType implementieren');
     }
     return $type->getValidatorRule($this);
 }