Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
ControllerArgument | |
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\Log\ILogger; |
8 | use PeServer\Core\Log\ILoggerFactory; |
9 | use PeServer\Core\Mvc\Template\ITemplateFactory; |
10 | use PeServer\Core\ProgramContext; |
11 | use PeServer\Core\Store\Stores; |
12 | use PeServer\Core\Web\IUrlHelper; |
13 | use PeServer\Core\Web\WebSecurity; |
14 | |
15 | /** |
16 | * コントローラ生成時に使用される入力値。 |
17 | */ |
18 | readonly class ControllerArgument |
19 | { |
20 | /** |
21 | * 生成。 |
22 | * |
23 | * @param Stores $stores |
24 | * @param ILogger $logger ロガー。 |
25 | */ |
26 | public function __construct( |
27 | public Stores $stores, |
28 | public ProgramContext $programContext, |
29 | public ILogicFactory $logicFactory, |
30 | public ITemplateFactory $templateFactory, |
31 | public IUrlHelper $urlHelper, |
32 | public WebSecurity $webSecurity, |
33 | public ILoggerFactory $loggerFactory, |
34 | public ILogger $logger, |
35 | ) { |
36 | } |
37 | } |