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.
13 lines
196 B
PHP
13 lines
196 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Contracts;
|
|
|
|
final class ActionInputEmpty implements ActionInput
|
|
{
|
|
public static function create(): self
|
|
{
|
|
return new self();
|
|
}
|
|
}
|