| Total Complexity | 3 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 29 | class StopperMiddleware implements MiddlewareInterface |
||
| 30 | { |
||
| 31 | /** |
||
| 32 | * @var string |
||
| 33 | */ |
||
| 34 | public $content; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @var array |
||
| 38 | */ |
||
| 39 | public static $output = []; |
||
| 40 | |||
| 41 | private $response; |
||
| 42 | |||
| 43 | /** |
||
| 44 | * SampleMiddleware constructor. |
||
| 45 | * |
||
| 46 | * @param string $content |
||
| 47 | */ |
||
| 48 | public function __construct(ResponseFactoryInterface $responseHandler, string $content = null) |
||
| 52 | } |
||
| 53 | |||
| 54 | /** |
||
| 55 | * {@inheritdoc} |
||
| 56 | */ |
||
| 57 | public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
||
| 67 |