Total Complexity | 3 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | final class ColonySandboxRepository extends EntityRepository implements ColonySandboxRepositoryInterface |
||
15 | { |
||
16 | public function prototype(): ColonySandboxInterface |
||
17 | { |
||
18 | return new ColonySandbox(); |
||
19 | } |
||
20 | |||
21 | public function save(ColonySandboxInterface $colonySandbox): void |
||
22 | { |
||
23 | $em = $this->getEntityManager(); |
||
24 | |||
25 | $em->persist($colonySandbox); |
||
26 | } |
||
27 | |||
28 | public function delete(ColonySandboxInterface $colonySandbox): void |
||
33 | } |
||
34 | } |
||
35 |