| Total Complexity | 3 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | final class AccessKeyRepository extends EntityRepository implements AccessKeyRepositoryInterface |
||
| 18 | { |
||
| 19 | #[Pure] |
||
| 20 | public function prototype(): AccessKeyInterface |
||
| 21 | { |
||
| 22 | return new AccessKey(); |
||
| 23 | } |
||
| 24 | |||
| 25 | public function save(AccessKeyInterface $accessKey): void |
||
| 26 | { |
||
| 27 | $this->getEntityManager()->persist($accessKey); |
||
| 28 | $this->getEntityManager()->flush(); |
||
| 29 | } |
||
| 30 | |||
| 31 | public function delete(AccessKeyInterface $accessKey): void |
||
| 35 | } |
||
| 36 | } |
||
| 37 |