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