Total Complexity | 4 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
24 | class UserLoader |
||
25 | { |
||
26 | private Registry $registry; |
||
27 | |||
28 | public function __construct(Registry $registry) |
||
31 | } |
||
32 | |||
33 | public function createUser(string $username, string $email, string $password): UserInterface |
||
36 | } |
||
37 | |||
38 | public function createProfile(string $nama, UserInterface $user): ProfileInterface |
||
39 | { |
||
40 | return new Profile($nama, $user); |
||
41 | } |
||
42 | |||
43 | public function createJabatan(string $nama): JabatanInterface |
||
46 | } |
||
47 | } |
||
48 |