public function setQuantity(Application $app, Request $request, $productClassId, $quantity) { $this->isTokenValid($app); $app['eccube.service.cart']->setProductQuantity($productClassId, $quantity)->save(); return $app->redirect($app->url('cart')); }