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