public function load(ObjectManager $manager) { $category = new Category(); $category->setTitle("Aspirant"); $category->setAcronym("ASP"); $manager->persist($category); $category = new Category(); $category->setTitle("Recurve Homme Pupille"); $category->setAcronym("RHP"); $manager->persist($category); $category = new Category(); $category->setTitle("Recurve Homme Benjamin"); $category->setAcronym("RHB"); $manager->persist($category); $category = new Category(); $category->setTitle("Recurve Homme Cadet"); $category->setAcronym("RHC"); $manager->persist($category); $category = new Category(); $category->setTitle("Recurve Homme Junior"); $category->setAcronym("RHJ"); $manager->persist($category); $category = new Category(); $category->setTitle("Recurve Homme Senior 1"); $category->setAcronym("RH1"); $manager->persist($category); $category = new Category(); $category->setTitle("Recurve Homme Senior 2"); $category->setAcronym("RH2"); $manager->persist($category); $category = new Category(); $category->setTitle("Recurve Homme Senior"); $category->setAcronym("RH"); $manager->persist($category); $manager->flush(); }