Passed
Push — develop ( 0d66a7...37c69c )
by Laurent
05:34 queued 02:39
created

Settings   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 9
dl 0
loc 13
rs 10
c 1
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
1
<?php
2
3
declare(strict_types=1);
4
5
/*
6
 * This file is part of the G.L.S.R. Apps package.
7
 *
8
 * (c) Dev-Int Création <[email protected]>.
9
 *
10
 * For the full copyright and license information, please view the LICENSE
11
 * file that was distributed with this source code.
12
 */
13
14
namespace Administration\Application\Settings\ReadModel;
15
16
class Settings
17
{
18
    public string $currency;
19
    public string $locale;
20
    public ?string $uuid;
21
    public ?string $symbol;
22
23
    public function __construct(string $currency, string $locale, ?string $symbol = null, ?string $uuid = null)
24
    {
25
        $this->currency = $currency;
26
        $this->locale = $locale;
27
        $this->symbol = $symbol;
28
        $this->uuid = $uuid;
29
    }
30
}
31