| Total Complexity | 2 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class ConnectionFixture extends Fixture implements FixtureGroupInterface |
||
| 11 | { |
||
| 12 | public function load(ObjectManager $manager): void |
||
| 13 | { |
||
| 14 | $connection = new Connection(); |
||
| 15 | $connection->setFromLocationId(11); |
||
| 16 | $connection->setToLocationId(22); |
||
| 17 | $connection->setId(1); |
||
| 18 | $connection->setDirection('north'); |
||
| 19 | $manager->persist($connection); |
||
| 20 | |||
| 21 | $manager->flush(); |
||
| 22 | } |
||
| 23 | |||
| 24 | public static function getGroups(): array |
||
| 27 | } |
||
| 28 | } |
||
| 29 |