18 lines
302 B
PHP
18 lines
302 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Contracts;
|
|
|
|
/**
|
|
* @template TInput of \App\Contracts\ActionInput
|
|
* @template TResult
|
|
*/
|
|
interface HandlesLockTimeout
|
|
{
|
|
/**
|
|
* @param TInput $input
|
|
* @return TResult
|
|
*/
|
|
public function onLockTimeout(ActionInput $input): mixed;
|
|
}
|