final class MiddlewarePipeline implements RequestHandlerInterface (View source)

Methods

__construct(array $stack, RequestHandlerInterface $fallback, int $index = 0)
create(array $stack, RequestHandlerInterface $fallback)
ResponseInterface
handle(ServerRequestInterface $request)
ResponseInterface

Details

__construct

__construct(array $stack, RequestHandlerInterface $fallback, int $index = 0)

No description

Parameters

array $stack
RequestHandlerInterface $fallback
int $index

create

static MiddlewarePipeline create(array $stack, RequestHandlerInterface $fallback)

No description

Parameters

array $stack
RequestHandlerInterface $fallback

Return Value

MiddlewarePipeline

handle

ResponseInterface handle(ServerRequestInterface $request)

No description

Parameters

ServerRequestInterface $request

Return Value

ResponseInterface