public function emptyCartAction(CartInterface $cart) { $this->get('elcodi.manager.cart')->emptyLines($cart); return $this->redirect($this->generateUrl('store_homepage')); }