first upload all files

This commit is contained in:
NW
2023-06-11 13:14:03 +01:00
parent f14dbc52b5
commit c08b36d1b6
1705 changed files with 106852 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
<?php
namespace Modules\Cart\Http\Controllers;
use Modules\Cart\Facades\Cart;
use Modules\Shipping\Facades\ShippingMethod;
class CartShippingMethodController
{
/**
* Store a newly created resource in storage.
*
* @return \Illuminate\Http\Response
*/
public function store()
{
$shippingMethod = ShippingMethod::get(request('shipping_method'));
Cart::addShippingMethod($shippingMethod);
return Cart::instance();
}
}