rekryt.iplist/src/App/Controller/ControllerInterface.php

20 lines
367 B
PHP
Raw Normal View History

2024-08-30 15:22:24 +03:00
<?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;
}