'social worker', 'fr' => 'travailleur social']; public function getOrder(): int { return 9000; } public function load(ObjectManager $manager): void { $o = new UserJob(); $o->setLabel($this->socialWorker); $manager->persist($o); $this->addReference(self::USER_JOB, $o); echo "Adding one AccompanyingPeriod User Job\n"; $manager->flush(); } }