| Total Complexity | 4 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | final class UserProcessor implements ProcessorInterface |
||
| 12 | { |
||
| 13 | private UserPasswordHasherInterface $userPasswordHasher; |
||
| 14 | |||
| 15 | 2 | public function __construct(UserPasswordHasherInterface $userPasswordHasher) |
|
| 16 | { |
||
| 17 | 2 | $this->userPasswordHasher = $userPasswordHasher; |
|
| 18 | } |
||
| 19 | |||
| 20 | /** |
||
| 21 | * {@inheritdoc} |
||
| 22 | */ |
||
| 23 | 2 | public function preProcess(string $id, object $object): void |
|
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * {@inheritdoc} |
||
| 34 | */ |
||
| 35 | public function postProcess(string $id, object $object): void |
||
| 40 |