xref: /plugin/struct/_test/mock/ValueValidator.php (revision b6c8d1e9eb41cdfee8ff47f89da53b24fdf5f206)
1*b6c8d1e9SAndreas Gohr<?php
2*b6c8d1e9SAndreas Gohr
3*b6c8d1e9SAndreas Gohrnamespace dokuwiki\plugin\struct\test\mock;
4*b6c8d1e9SAndreas Gohr
5*b6c8d1e9SAndreas Gohruse \dokuwiki\plugin\struct\meta;
6*b6c8d1e9SAndreas Gohruse dokuwiki\plugin\struct\types\AbstractBaseType;
7*b6c8d1e9SAndreas Gohr
8*b6c8d1e9SAndreas Gohrclass ValueValidator extends meta\ValueValidator {
9*b6c8d1e9SAndreas Gohr    public function validateField(AbstractBaseType $type, $label, &$data) {
10*b6c8d1e9SAndreas Gohr        return parent::validateField($type, $label, $data);
11*b6c8d1e9SAndreas Gohr    }
12*b6c8d1e9SAndreas Gohr
13*b6c8d1e9SAndreas Gohr}
14