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
AppSetting
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\App\Models\Configuration;
6
7use PeServer\App\Models\Configuration\PersistenceSetting;
8use PeServer\Core\Serialization\Mapping;
9
10/**
11 * アプリ設定。
12 *
13 * @immutable
14 */
15class AppSetting
16{
17    #region variable
18
19    public PersistenceSetting $persistence;
20
21    public LoggingSetting $logging;
22
23    public StoreSetting $store;
24
25    public CacheSetting $cache;
26
27    #[Mapping("access_log")]
28    public AccessLogSetting $accessLog;
29
30    public CryptoSetting $crypto;
31
32    public ConfigurationSetting $config;
33
34    public MailSetting $mail;
35
36    public ApiSetting $api;
37
38    public DebugSetting $debug;
39
40    #endregion
41
42    public function __construct()
43    {
44        $this->debug = new DebugSetting();
45    }
46}