| Conditions | 9 |
| Paths | 6 |
| Total Lines | 29 |
| Code Lines | 18 |
| Lines | 29 |
| Ratio | 100 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 30 | /** |
||
| 31 | * @param Constraint $constraint |
||
| 32 | * @return array |
||
| 33 | */ |
||
| 34 | public function getValidationOptions(Constraint $constraint) |
||
| 35 | { |
||
| 36 | return array('strict' => (bool)$constraint->strict); |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @return string |
||
| 41 | */ |
||
| 42 | public function getValidatorConstraintClass() |
||
| 43 | { |
||
| 44 | return __NAMESPACE__ . '\Pesel'; |
||
| 45 | } |
||
| 46 | } |
||
| 47 |