| Total Complexity | 3 |
| Total Lines | 15 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | class EntityFactory |
||
| 24 | { |
||
| 25 | public function buildPasswordReset(UserInterface $user): ForgotPasswordCode |
||
| 26 | { |
||
| 27 | return ForgotPasswordCode::createForUser($user); |
||
| 28 | } |
||
| 29 | |||
| 30 | public function buildInviteCode(UserInterface $user, string $email): InviteCode |
||
| 31 | { |
||
| 32 | return InviteCode::createForUser($user, $email); |
||
| 33 | } |
||
| 34 | |||
| 35 | public function buildTeamInviteCode(UserInterface $user, TeamInterface $team, string $email, string $role): TeamInviteCode |
||
| 38 | } |
||
| 39 | } |
||
| 40 |