for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace TK\API\ValueObject;
class RetrieveReservationDetailParameters implements ValueObjectInterface
{
private $uniqueId;
private $surname;
public function __construct(string $uniqueId, string $surname)
$this->uniqueId = $uniqueId;
$this->surname = $surname;
}
public function getValue() : array
return [
'retrieveReservationOTARequest' => [
'UniqueId' => $this->uniqueId,
'Surname' => $this->surname
]
];