| 1 | <?php |
||
| 5 | class Password extends Text |
||
| 6 | { |
||
| 7 | protected $type = 'password'; |
||
| 8 | |||
| 9 | protected $notRequired = false; |
||
| 10 | |||
| 11 | public function save() |
||
| 22 | |||
| 23 | public function getValidationRules() |
||
| 35 | |||
| 36 | public function getValue() |
||
| 40 | |||
| 41 | protected function hashAsBcrypt() |
||
| 49 | |||
| 50 | protected function hashAsMD5() |
||
| 58 | |||
| 59 | protected function isNotRequiredWithUpdate() |
||
| 63 | |||
| 64 | public function notRequiredWithUpdate() |
||
| 70 | } |
||
| 71 |