| 1 | <?php |
||
| 17 | final class PasswordHashGenerator implements PasswordHashGeneratorInterface |
||
| 18 | { |
||
| 19 | /** @var int */ |
||
| 20 | private $hashType; |
||
| 21 | |||
| 22 | public function __construct(int $hashType = User::DEFAULT_PASSWORD_HASH) |
||
| 26 | |||
| 27 | public function getHashType(): int |
||
| 31 | |||
| 32 | public function createPasswordHash(string $password, ?int $hashType = null): string |
||
| 47 | } |
||
| 48 |