| 1 | <?php |
||
| 18 | class EncodePasswordHandler |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * @var string |
||
| 22 | */ |
||
| 23 | protected $algorithm; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * EncodePasswordHandler constructor. |
||
| 27 | * |
||
| 28 | * @param string $algorithm |
||
| 29 | */ |
||
| 30 | public function __construct($algorithm = 'md5') |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @param EncodePasswordCommand $command |
||
| 37 | */ |
||
| 38 | public function encodePassword(EncodePasswordCommand $command) |
||
| 42 | } |
||
| 43 |