| Total Complexity | 4 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | class PasswordUpdater implements PasswordUpdaterInterface |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @var EncoderFactoryInterface |
||
| 24 | */ |
||
| 25 | private $encoderFactory; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * PasswordUpdater constructor. |
||
| 29 | */ |
||
| 30 | 4 | public function __construct(EncoderFactoryInterface $encoderFactory) |
|
| 31 | { |
||
| 32 | 4 | $this->encoderFactory = $encoderFactory; |
|
| 33 | } |
||
| 34 | |||
| 35 | 7 | public function hashPassword(UserInterface $user) |
|
| 51 | } |
||
| 52 | } |
||
| 53 |