Completed
Pull Request — master (#41)
by Níckolas Daniel
05:03
created

Participant::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 5
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 3
1
<?php
2
3
namespace PODEntender\Domain\Model\Participant;
4
5
class Participant
6
{
7
    private $name;
8
9
    private $picture;
10
11
    private $description;
12
13
    public function __construct(string $name, string $picture, string $description)
14
    {
15
        $this->name = $name;
16
        $this->picture = $picture;
17
        $this->description = $description;
18
    }
19
20
    public function name(): string
21
    {
22
        return $this->name;
23
    }
24
25
    public function picture(): string
26
    {
27
        return $this->picture;
28
    }
29
30
    public function description(): string
31
    {
32
        return $this->description;
33
    }
34
}
35