mirror of
https://github.com/jikan-me/jikan-rest.git
synced 2025-02-20 11:23:35 +08:00
15 lines
244 B
PHP
15 lines
244 B
PHP
<?php
|
|
|
|
namespace App\Contracts;
|
|
|
|
interface Mediator
|
|
{
|
|
/**
|
|
* Send a request to a single handler
|
|
* @template T
|
|
* @param DataRequest<T> $requestData
|
|
* @return T
|
|
*/
|
|
public function send(DataRequest $requestData);
|
|
}
|