| Total Complexity | 5 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class Password implements \Validate\Contracts\Validate |
||
| 8 | { |
||
| 9 | use FakeNameTrait; |
||
| 10 | |||
| 11 | public static function toDatabase(string $password) |
||
| 12 | { |
||
| 13 | // Change @todo |
||
| 14 | return md5($password); |
||
| 15 | } |
||
| 16 | |||
| 17 | public static function toUser($password) |
||
| 20 | } |
||
| 21 | |||
| 22 | public static function generate( |
||
| 35 | } |
||
| 36 | |||
| 38 |