| Total Complexity | 4 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Coverage | 40% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 24 | final class TimestampedValidator implements ValidatorInterface |
||
| 25 | { |
||
| 26 | private ValidatorInterface $decorated; |
||
| 27 | private TimestampedAnnotationReader $annotationReader; |
||
| 28 | |||
| 29 | 7 | public function __construct(ValidatorInterface $decorated, TimestampedAnnotationReader $annotationReader) |
|
| 30 | { |
||
| 31 | 7 | $this->decorated = $decorated; |
|
| 32 | 7 | $this->annotationReader = $annotationReader; |
|
| 33 | 7 | } |
|
| 34 | |||
| 35 | /** |
||
| 36 | * {@inheritdoc} |
||
| 37 | */ |
||
| 38 | public function validate($data, array $context = []): void |
||
| 49 | } |
||
| 50 | } |
||
| 51 |