mirror of
https://github.com/rekryt/iplist.git
synced 2025-08-30 22:59:59 +02:00
20 lines
367 B
PHP
20 lines
367 B
PHP
|
<?php
|
||
|
|
||
|
namespace OpenCCK\App\Controller;
|
||
|
|
||
|
use Amp\Http\Server\Request;
|
||
|
use Amp\Http\Server\Response;
|
||
|
|
||
|
interface ControllerInterface {
|
||
|
/**
|
||
|
* @param Request $request
|
||
|
* @param array $headers
|
||
|
*/
|
||
|
public function __construct(Request $request, array $headers = []);
|
||
|
|
||
|
/**
|
||
|
* @return Response
|
||
|
*/
|
||
|
public function __invoke(): Response;
|
||
|
}
|