Total Complexity | 4 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
7 | class Birthdate extends Date implements \Validate\Contracts\Validate |
||
8 | { |
||
9 | use FakeNameTrait; |
||
10 | |||
11 | public static function toDatabase($birthdate) |
||
12 | { |
||
13 | return parent::toDatabase($birthdate); |
||
14 | } |
||
15 | |||
16 | public static function validate($birthdate) |
||
23 | } |
||
24 | |||
25 | public static function isSame(string $to, string $from) |
||
31 |