\Charcoal\App\RouteRouteInterface

Base Route Interface.

Routes are simple invokable objects.

Summary

Methods
Constants
__invoke()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

__invoke()

__invoke(\Pimple\Container  $container, \Psr\Http\Message\RequestInterface  $request, \Psr\Http\Message\ResponseInterface  $response) : \Psr\Http\Message\ResponseInterface

Parameters

\Pimple\Container $container

A DI container (pimple) instance.

\Psr\Http\Message\RequestInterface $request

A PSR-7 compatible Request instance.

\Psr\Http\Message\ResponseInterface $response

A PSR-7 compatible Response instance.

Returns

\Psr\Http\Message\ResponseInterface