public function load(ObjectManager $manager)
 {
     $cart = new Cart();
     $cart->setPrice(0);
     $cart->setFinalPrice(0);
     $manager->persist($cart);
     $manager->flush();
     FixtureCollector::addCart(FixtureCollector::MONGODB, $cart);
 }
 public function load(ObjectManager $manager)
 {
     $cart = new Cart();
     $cart->setExpiresAt(new \DateTime('next day'));
     $cart->setIdentifier('1');
     $cart->setPrice(0);
     $cart->setFinalPrice(0);
     $ticket = new TicketItem();
     $ticket->setPrice(3);
     $ticket->setFinalPrice(3);
     $cart->addItem($ticket);
     $tshirt = new TshirtItem();
     $tshirt->setPrice(4);
     $tshirt->setFinalPrice(5);
     $cart->addItem($tshirt);
     $manager->persist($cart);
     $manager->flush();
     FixtureCollector::addCart(FixtureCollector::MONGODB, $cart);
 }