Total Complexity | 2 |
Total Lines | 17 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
24 | class SettingsFixtures extends Fixture implements FixtureGroupInterface |
||
25 | { |
||
26 | final public function load(ObjectManager $manager): void |
||
27 | { |
||
28 | $settings = Settings::create( |
||
29 | SettingsUuid::fromString('a136c6fe-8f6e-45ed-91bc-586374791033'), |
||
30 | Locale::fromString('FR'), |
||
31 | Currency::fromString('Euro') |
||
32 | ); |
||
33 | $manager->persist($settings); |
||
34 | |||
35 | $manager->flush(); |
||
36 | } |
||
37 | |||
38 | public static function getGroups(): array |
||
41 | } |
||
42 | } |
||
43 |