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

Settings::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 4
nc 1
nop 4
dl 0
loc 6
rs 10
c 1
b 0
f 0
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