for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace LauLamanApps\ApplePassbook\MetaData\SemanticTag;
class Seat
{
private ?string $description;
private ?string $identifier;
private ?string $number;
private ?string $row;
private ?string $section;
private ?string $type;
public function __construct(
?string $description,
?string $identifier,
?string $number,
?string $row,
?string $section,
?string $type
) {
$this->description = $description;
$this->identifier = $identifier;
$this->number = $number;
$this->row = $row;
$this->section = $section;
$this->type = $type;
}
public function getValue()
$data = [];
if (isset($this->description)) {
$data['seatDescription'] = $this->description;
if (isset($this->identifier)) {
$data['seatIdentifier'] = $this->identifier;
if (isset($this->number)) {
$data['seatNumber'] = $this->number;
if (isset($this->row)) {
$data['seatRow'] = $this->row;
if (isset($this->section)) {
$data['seatSection'] = $this->section;
if (isset($this->type)) {
$data['seatType'] = $this->type;
return $data;