ldc-cocotte/app/Contracts/HandlesSuccess.php

18 lines
317 B
PHP

<?php
declare(strict_types=1);
namespace App\Contracts;
/**
* @template TInput of \App\Contracts\ActionInput
* @template TResult
*/
interface HandlesSuccess
{
/**
* @param TInput $input
* @param TResult $result
*/
public function onSuccess(ActionInput $input, mixed $result): void;
}