RetrieveReservationDetailParameters::getValue()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 4
nc 1
nop 0
dl 0
loc 6
rs 10
c 0
b 0
f 0
1
<?php
2
declare(strict_types=1);
3
4
namespace TK\API\ValueObject;
5
6
class RetrieveReservationDetailParameters implements ValueObjectInterface
7
{
8
    private $uniqueId;
9
    private $surname;
10
11
    public function __construct(string $uniqueId, string $surname)
12
    {
13
        $this->uniqueId = $uniqueId;
14
        $this->surname = $surname;
15
    }
16
17
    public function getValue() : array
18
    {
19
        return [
20
            'retrieveReservationOTARequest' => [
21
                'UniqueId' => $this->uniqueId,
22
                'Surname' => $this->surname
23
            ]
24
        ];
25
    }
26
}
27