| Total Complexity | 4 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | final class UserSettingRepository extends EntityRepository implements UserSettingRepositoryInterface |
||
| 16 | { |
||
| 17 | public function prototype(): UserSettingInterface |
||
| 20 | } |
||
| 21 | |||
| 22 | public function save(UserSettingInterface $userSetting): void |
||
| 23 | { |
||
| 24 | $em = $this->getEntityManager(); |
||
| 25 | |||
| 26 | $em->persist($userSetting); |
||
| 27 | } |
||
| 28 | |||
| 29 | public function delete(UserSettingInterface $userSetting): void |
||
| 34 | } |
||
| 35 | |||
| 36 | public function truncateByUser(UserInterface $user): void |
||
| 46 | } |
||
| 47 | } |
||
| 48 |