PHP Class Equip\Handler\DispatchHandler

Afficher le fichier Open project: equip/framework

Méthodes publiques

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

Méthodes protégées

Méthode Description
dispatcher ( ) : FastRoute\Dispatcher

Private Methods

Méthode Description
dispatch ( FastRoute\Dispatcher $dispatcher, string $method, string $path ) : array

Method Details

__construct() public méthode

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

__invoke() public méthode

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 méthode

protected dispatcher ( ) : FastRoute\Dispatcher
Résultat FastRoute\Dispatcher