Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
CRAP
100.00% covered (success)
100.00%
1 / 1
TemplatePluginArgument
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
1 / 1
 __construct
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
1<?php
2
3declare(strict_types=1);
4
5namespace PeServer\Core\Mvc\Template\Plugin;
6
7use Smarty\Smarty;
8use PeServer\Core\Environment;
9use PeServer\Core\ProgramContext;
10use PeServer\Core\Store\CookieStore;
11use PeServer\Core\Store\SessionStore;
12use PeServer\Core\Store\SpecialStore;
13use PeServer\Core\Store\Stores;
14use PeServer\Core\Store\TemporaryStore;
15use PeServer\Core\Web\IUrlHelper;
16use PeServer\Core\Web\WebSecurity;
17
18class TemplatePluginArgument
19{
20    /**
21     * 生成。
22     *
23     * @param Smarty $engine テンプレートエンジン。
24     * @param string $rootDirectoryPath テンプレートファイルルートディレクトリのパス。
25     * @param string $baseDirectoryPath テンプレートファイルベースディレクトリのパス。
26     * @param ProgramContext $programContext
27     * @param IUrlHelper $urlHelper
28     * @param WebSecurity $webSecurity
29     * @param Environment $environment
30     */
31    public function __construct(
32        public Smarty $engine,
33        public string $rootDirectoryPath,
34        public string $baseDirectoryPath,
35        public ProgramContext $programContext,
36        public IUrlHelper $urlHelper,
37        public WebSecurity $webSecurity,
38        public Stores $stores,
39        public Environment $environment
40    ) {
41    }
42}