Total Complexity | 1 |
Total Lines | 16 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
7 | class DateTime extends AbstractDateTime implements ValidateRuleInterface |
||
8 | { |
||
9 | /** |
||
10 | * Validate that a value can be represented as a date/time. |
||
11 | * |
||
12 | * @param object $subject The subject to be filtered. |
||
13 | * @param string $field The subject field name. |
||
14 | * |
||
15 | * @return bool |
||
16 | */ |
||
17 | 51 | public function __invoke($subject, string $field): bool |
|
25 |