/**
  * {@inheritDoc}
  */
 public function load(ObjectManager $manager)
 {
     $categoryService = new Category();
     $categoryService->setHeadline('Service');
     $categoryService->setIsActive(true);
     $categoryService->setRank(0);
     $manager->persist($categoryService);
     $manager->flush();
     $this->addReference('category-service', $categoryService);
 }
 /**
  * {@inheritDoc}
  */
 public function load(ObjectManager $manager)
 {
     $categorySubscription = new Category();
     $categorySubscription->setHeadline('Subscription');
     $categorySubscription->setIsActive(true);
     $categorySubscription->setRank(0);
     $manager->persist($categorySubscription);
     $manager->flush();
     $this->addReference('category-subscription', $categorySubscription);
     $categoryWebsite = new Category();
     $categoryWebsite->setHeadline('Website');
     $categoryWebsite->setIsActive(true);
     $categoryWebsite->setRank(1);
     $manager->persist($categoryWebsite);
     $manager->flush();
     $this->addReference('category-website', $categoryWebsite);
 }