15 lines
398 B
PHP
15 lines
398 B
PHP
<?php
|
|
/** @license MIT
|
|
* Copyright 2017 J. King, Dustin Wilson et al.
|
|
* See LICENSE and AUTHORS files for details */
|
|
|
|
declare(strict_types=1);
|
|
namespace JKingWeb\Arsse\REST;
|
|
|
|
use Psr\Http\Message\ServerRequestInterface;
|
|
use Psr\Http\Message\ResponseInterface;
|
|
|
|
interface Handler {
|
|
public function __construct();
|
|
public function dispatch(ServerRequestInterface $req): ResponseInterface;
|
|
}
|