Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
LogicParameter | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
__construct | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 |
1 | <?php |
2 | |
3 | declare(strict_types=1); |
4 | |
5 | namespace PeServer\Core\Mvc; |
6 | |
7 | use PeServer\Core\Environment; |
8 | use PeServer\Core\Log\ILogger; |
9 | use PeServer\Core\Store\Stores; |
10 | use PeServer\Core\Http\HttpRequest; |
11 | |
12 | /** |
13 | * ロジック用パラメータ。 |
14 | */ |
15 | readonly class LogicParameter |
16 | { |
17 | /** |
18 | * 生成。 |
19 | * |
20 | * @param HttpRequest $request リクエスト。 |
21 | * @param Stores $stores |
22 | * @param Environment $environment |
23 | * @param ILogger $logger ロガー。 |
24 | */ |
25 | public function __construct( |
26 | public HttpRequest $request, |
27 | public Stores $stores, |
28 | public Environment $environment, |
29 | public ILogger $logger |
30 | ) { |
31 | } |
32 | } |