ldc-boutique-cnc-sable/app/Actions/Basket/RemoveProductFromBasketInput.php
Jérémy Munsch 46b5413f07
feat(basket): implement add, remove, and empty basket actions
This commit introduces new actions for adding, removing, and emptying items in the basket, along with their corresponding input classes. It also updates the BasketController to utilize these new actions, enhancing the basket management functionality.
2026-10-27 09:58:35 +01:00

16 lines
308 B
PHP

<?php
declare(strict_types=1);
namespace App\Actions\Basket;
use App\Contracts\ActionInput;
use Domain\Models\ValueObjects\Entities\ProductId;
final readonly class RemoveProductFromBasketInput implements ActionInput
{
public function __construct(
public ProductId $productId,
) {
}
}