Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
MiddlewareArgument | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
__construct | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | |
3 | declare(strict_types=1); |
4 | |
5 | namespace PeServer\Core\Mvc\Middleware; |
6 | |
7 | use PeServer\Core\Environment; |
8 | use PeServer\Core\Http\HttpRequest; |
9 | use PeServer\Core\Http\HttpResponse; |
10 | use PeServer\Core\Http\RequestPath; |
11 | use PeServer\Core\Log\ILogger; |
12 | use PeServer\Core\Store\Stores; |
13 | |
14 | /** |
15 | * ミドルウェアの入力パラメータ。 |
16 | */ |
17 | class MiddlewareArgument |
18 | { |
19 | /** |
20 | * 生成。 |
21 | * |
22 | * @param RequestPath $requestPath |
23 | * @param Stores $stores |
24 | * @param HttpRequest $request |
25 | */ |
26 | public function __construct( |
27 | public RequestPath $requestPath, |
28 | public Stores $stores, |
29 | public Environment $environment, |
30 | public HttpRequest $request |
31 | ) { |
32 | } |
33 | } |