class ClientMiddlewarePipe implements MiddlewarePipeInterface

Properties

protected $middlewares
protected $pipe

Methods

__construct(Container $container, array $middlewares)

No description

ResponseInterface
process(ServerRequestInterface $request, RequestHandlerInterface $handler)

No description

ResponseInterface
handle(ServerRequestInterface $request)

No description

void
pipe(MiddlewareInterface $middleware)

No description

MiddlewarePipeInterface
getPipe()

No description

errorHandling(bool $handleErrors)

No description

Details

__construct(Container $container, array $middlewares)

Parameters

Container $container
array $middlewares

ResponseInterface process(ServerRequestInterface $request, RequestHandlerInterface $handler)

Parameters

ServerRequestInterface $request
RequestHandlerInterface $handler

Return Value

ResponseInterface

ResponseInterface handle(ServerRequestInterface $request)

Parameters

ServerRequestInterface $request

Return Value

ResponseInterface

void pipe(MiddlewareInterface $middleware)

Parameters

MiddlewareInterface $middleware

Return Value

void

protected MiddlewarePipeInterface getPipe()

Return Value

MiddlewarePipeInterface

ClientMiddlewarePipe errorHandling(bool $handleErrors)

Parameters

bool $handleErrors

Return Value

ClientMiddlewarePipe