public function getBasketAction(Request $request, Basket $basket)
    {
        $ret = [
            "basket"          => $this->listBasket($basket),
            "basket_elements" => $this->listBasketContent($request, $basket),
        ];

        return Result::create($request, $ret)->createResponse();
    }
public function getBasketAction(Request $request, Basket $basket)
    {
        $ret = [
            "basket"          => $this->listBasket($basket),
            "basket_elements" => $this->listBasketContent($request, $basket),
        ];

        return Result::create($request, $ret)->createResponse();
    }
public function getBasketAction ( Request $ request , Basket $ basket ) { $ ret = [ "basket" => $ this -> listBasket ( $ basket ) , "basket_elements" => $ this -> listBasketContent ( $ request , $ basket ) , ] ; return Result :: create ( $ request , $ ret ) -> createResponse ( ) ; }
Retrieve a basket

@param  Request $request
@param  Basket  $basket

@return Response
Retrieve a basket