1 | <?php declare(strict_types=1); |
||
28 | class RequestStorage implements RequestStorageInterface |
||
29 | { |
||
30 | /** |
||
31 | * @var ServerRequestInterface|null |
||
32 | */ |
||
33 | private $request = null; |
||
34 | |||
35 | 1 | /** |
|
36 | * @inheritdoc |
||
37 | 1 | */ |
|
38 | public function get(): ServerRequestInterface |
||
44 | |||
45 | 1 | /** |
|
46 | * @inheritdoc |
||
47 | 1 | */ |
|
48 | public function set(ServerRequestInterface $request): RequestStorageInterface |
||
54 | |||
55 | 1 | /** |
|
56 | * @inheritdoc |
||
57 | 1 | */ |
|
58 | public function has(): bool |
||
62 | } |
||
63 |