Total Complexity | 3 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
17 | class RequestContext extends \ArrayObject implements MiddlewareInterface |
||
18 | { |
||
19 | use MiddlewareTrait; |
||
20 | use AttachToRequestTrait; |
||
21 | use MiddlewareCompositeTrait { |
||
22 | append as appendMiddleware; // avoid override ArrayObject::append |
||
23 | prepend as prependMiddleware; // for consistency, also rename prepend |
||
24 | } |
||
25 | |||
26 | 4 | public function __construct(array $input = []) |
|
29 | 4 | } |
|
30 | |||
31 | 1 | public function append($value) |
|
32 | { |
||
33 | 1 | parent::append($value); |
|
34 | 1 | } |
|
35 | |||
36 | 3 | protected function main(): ResponseInterface |
|
40 | } |
||
41 | } |
||
42 |