Passed
Push — develop ( 6aee1f...eb8792 )
by Laurent
01:33
created

Company   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 41
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 26 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\Company\ReadModel;
15
16
class Company
17
{
18
    public string $uuid;
19
    public string $name;
20
    public string $address;
21
    public string $zipCode;
22
    public string $town;
23
    public string $country;
24
    public string $phone;
25
    public string $facsimile;
26
    public string $email;
27
    public string $contact;
28
    public string $cellphone;
29
    public string $slug;
30
31
    public function __construct(
32
        string $uuid,
33
        string $name,
34
        string $address,
35
        string $zipCode,
36
        string $town,
37
        string $country,
38
        string $phone,
39
        string $facsimile,
40
        string $email,
41
        string $contact,
42
        string $cellphone,
43
        string $slug
44
    ) {
45
        $this->uuid = $uuid;
46
        $this->name = $name;
47
        $this->address = $address;
48
        $this->zipCode = $zipCode;
49
        $this->town = $town;
50
        $this->country = $country;
51
        $this->phone = $phone;
52
        $this->facsimile = $facsimile;
53
        $this->email = $email;
54
        $this->contact = $contact;
55
        $this->cellphone = $cellphone;
56
        $this->slug = $slug;
57
    }
58
}
59