| Total Complexity | 4 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | final class AreaFixtures extends Fixture implements DependentFixtureInterface |
||
| 13 | { |
||
| 14 | public function load(ObjectManager $manager): void |
||
| 25 | } |
||
| 26 | |||
| 27 | private function getAreaData(): array |
||
| 28 | { |
||
| 29 | return [ |
||
| 30 | // $areaData = [$locality, $name, $slug]; |
||
| 31 | [$this->getReference('Miami'), 'South Beach', 'south-beach'], |
||
| 32 | [$this->getReference('Miami'), 'Downtown', 'downtown'], |
||
| 33 | [$this->getReference('Tampa'), 'Ballast Point', 'ballast-point'], |
||
| 34 | [$this->getReference('Tampa'), 'Culbreath Isles', 'culbreath-isles'], |
||
| 35 | ]; |
||
| 36 | } |
||
| 37 | |||
| 38 | public function getDependencies() |
||
| 42 | ]; |
||
| 43 | } |
||
| 45 |