Total Complexity | 2 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class Delegate implements DelegateInterface |
||
9 | { |
||
10 | /** |
||
11 | * A store of the request that was passed in. |
||
12 | * |
||
13 | * @var Psr\Http\Message\ServerRequestInterface |
||
|
|||
14 | */ |
||
15 | protected $request; |
||
16 | |||
17 | /** |
||
18 | * Process method to conform to the delegate interface. |
||
19 | * |
||
20 | * @param ServerRequestInterface $request |
||
21 | * @return void |
||
22 | */ |
||
23 | public function process(ServerRequestInterface $request) |
||
24 | { |
||
25 | $this->request = $request; |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * Get the request that was processed. |
||
30 | * |
||
31 | * @return void |
||
32 | */ |
||
33 | public function getRequest() |
||
36 | } |
||
37 | } |
||
38 |