Class NegotiationMiddleware
-
momentphp\Middleware
uses
momentphp\traits\ContainerTrait,
momentphp\traits\OptionsTrait,
momentphp\traits\ClassTrait
-
momentphp\middlewares\NegotiationMiddleware
Methods summary
public
|
#
__construct( Interop\Container\ContainerInterface $container, array $options = [] )
Constructor
Parameters
Overrides
|
public
Psr\Http\Message\ResponseInterface
|
#
__invoke( Psr\Http\Message\RequestInterface $request, Psr\Http\Message\ResponseInterface $response, callable $next )
Invoke middleware
Parameters
Returns
Psr\Http\Message\ResponseInterface
|
protected
array
|
#
priorities( )
Return priorities
Returns
array
|
Properties summary
protected
Negotiation\Negotiator
|
$negotiator
|
|