FleetCart/Modules/Cart/Http/Controllers/CartCrossSellProductsController.php

20 lines
363 B
PHP
Raw Normal View History

2023-06-11 12:14:03 +00:00
<?php
namespace Modules\Cart\Http\Controllers;
use Modules\Cart\Facades\Cart;
2023-12-03 14:07:47 +00:00
use Illuminate\Support\Collection;
2023-06-11 12:14:03 +00:00
class CartCrossSellProductsController
{
/**
* Display a listing of the resource.
*
2023-12-03 14:07:47 +00:00
* @return Collection
2023-06-11 12:14:03 +00:00
*/
2023-12-03 14:07:47 +00:00
public function index(): Collection
2023-06-11 12:14:03 +00:00
{
return Cart::crossSellProducts();
}
}