Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 363 Bytes

LazyRequestHandler.md

File metadata and controls

21 lines (13 loc) · 363 Bytes

LazyRequestHandler

Methods

handle

<?php

use Chubbyphp\Framework\RequestHandler\LazyRequestHandler;
use Some\Psr11\Container;
use Some\Psr7\ServerRequest;

$request = new ServerRequest();

$container = new Container();

$lazyMiddleware = new LazyRequestHandler($container, 'requestHandler');

$response = $lazyMiddleware->handle($request);