PHP Class Equip\Handler\DispatchHandler

Datei anzeigen Open project: equip/framework

Public Methods

Method Description
__construct ( Directory $directory )
__invoke ( Psr\Http\Message\ServerRequestInterface $request, Psr\Http\Message\ResponseInterface $response, callable $next )

Protected Methods

Method Description
dispatcher ( ) : FastRoute\Dispatcher

Private Methods

Method Description
dispatch ( FastRoute\Dispatcher $dispatcher, string $method, string $path ) : array

Method Details

__construct() public method

public __construct ( Directory $directory )
$directory Equip\Directory

__invoke() public method

public __invoke ( Psr\Http\Message\ServerRequestInterface $request, Psr\Http\Message\ResponseInterface $response, callable $next )
$request Psr\Http\Message\ServerRequestInterface
$response Psr\Http\Message\ResponseInterface
$next callable

dispatcher() protected method

protected dispatcher ( ) : FastRoute\Dispatcher
return FastRoute\Dispatcher