| 1 | <?php |
||
| 12 | class DocumentValidator extends Validator { |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var bool whether the attribute value can removed non digits characteres. Defaults to false. |
||
| 16 | */ |
||
| 17 | public $digitsOnly = false; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @inheritdoc |
||
| 21 | */ |
||
| 22 | 1 | public function validateAttribute($model, $attribute) |
|
| 29 | |||
| 30 | } |
||
| 31 |