| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 47 | public function init() |
||
| 48 | { |
||
| 49 | $this->proxy = RegexProxy::class; |
||
| 50 | $this->getEntity()->validators[] = new ValidatorMeta(ParamsExpander::expand($this, [ |
||
| 51 | 'pattern', |
||
| 52 | 'allowEmpty', |
||
| 53 | 'not', |
||
| 54 | 'message', |
||
| 55 | 'skipOnError', |
||
| 56 | 'on', |
||
| 57 | 'safe', |
||
| 58 | 'enableClientValidation', |
||
| 59 | 'except', |
||
| 60 | 'proxy' |
||
| 61 | ])); |
||
| 62 | } |
||
| 63 | |||
| 65 |