RouterInterface Interface

Aurora\Router Namespace


Methods

dispatch

Dispatch the request

Parameters

  • Psr\Http\Message\ServerRequestInterface $request — Request object
  • Psr\Http\Message\ResponseFactoryInterface $factory — Response factory

Return Value

  • \ResponseInterface

Signature

public function dispatch(Psr\Http\Message\ServerRequestInterface $request, Psr\Http\Message\ResponseFactoryInterface $factory): Psr\Http\Message\ResponseInterface

Go to top