| Total Complexity | 2 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class UserFactory implements UserFactoryInterface |
||
| 11 | { |
||
| 12 | private $passwordEncoder; |
||
| 13 | |||
| 14 | protected $stringGenerator; |
||
| 15 | |||
| 16 | public function __construct(UserPasswordEncoderInterface $passwordEncoder, StringGeneratorInterface $stringGenerator) |
||
| 17 | { |
||
| 18 | $this->passwordEncoder = $passwordEncoder; |
||
| 19 | $this->stringGenerator = $stringGenerator; |
||
| 20 | } |
||
| 21 | |||
| 22 | public function create(): UserInterface |
||
| 30 | } |
||
| 31 | } |
||
| 32 |