Total Complexity | 4 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class ProfileResponse { |
||
9 | |||
10 | /** |
||
11 | * @var string |
||
12 | */ |
||
13 | private $id; |
||
14 | |||
15 | /** |
||
16 | * @var string |
||
17 | */ |
||
18 | private $name; |
||
19 | |||
20 | /** |
||
21 | * @var array |
||
22 | */ |
||
23 | private $props; |
||
24 | |||
25 | 3 | public function __construct(string $id, string $name, array $rawProps) { |
|
29 | 3 | } |
|
30 | |||
31 | 2 | public function getId(): string { |
|
32 | 2 | return $this->id; |
|
33 | } |
||
34 | |||
35 | 2 | public function getName(): string { |
|
37 | } |
||
38 | |||
39 | /** |
||
40 | * @return \Ely\Mojang\Response\Properties\Property[] |
||
41 | */ |
||
42 | 2 | public function getProps(): array { |
|
47 |