public function putBasketBasketelementsAction($basketId, $elementId, Request $request)
    {
        return $this->handleWriteBasketElement($basketId, $request, $elementId);
    }
public function putBasketBasketelementsAction($basketId, $elementId, Request $request)
    {
        return $this->handleWriteBasketElement($basketId, $request, $elementId);
    }
public function putBasketBasketelementsAction ( $ basketId , $ elementId , Request $ request ) { return $ this -> handleWriteBasketElement ( $ basketId , $ request , $ elementId ) ; }
Updates a basket element of a basket.

@ApiDoc(
requirements={
{"name"="basketId", "dataType"="integer", "requirement"="\d+", "description"="basket identifier"},
{"name"="elementId", "dataType"="integer", "requirement"="\d+", "description"="element identifier"},
},
input={"class"="sonata_basket_api_form_basket_element", "name"="", "groups"={"sonata_api_write"}},
output={"class"="Sonata\Component\Basket\BasketInterface", "groups"={"sonata_api_read"}},
statusCodes={
200="Returned when successful",
400="Returned when an error has occurred while basket/element attachment",
404="Returned when basket or basket element not found",
}
)

@param int     $basketId  A basket identifier
@param int     $elementId A basket element identifier
@param Request $request   A Symfony request

@throws NotFoundHttpException

@return BasketInterface
Updates a basket element of a basket .