ldc-boutique-cnc-sable/app/Contracts/Action.php
Jérémy Munsch 98e580d327
refactor(tags): implement CRUD actions for tags
- Added CreateTag, UpdateTag, and DeleteTag actions.
- Introduced CreateTagInput and UpdateTagInput for input validation.
- Implemented ActionExecutor for executing actions with logging.
- Added tests for all new actions and input validation.
2026-10-27 09:58:30 +01:00

18 lines
278 B
PHP

<?php
declare(strict_types=1);
namespace App\Contracts;
/**
* @template TInput of \App\Contracts\ActionInput
* @template TResult
*/
interface Action
{
/**
* @param TInput $input
* @return TResult
*/
public function __invoke(ActionInput $input);
}