for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace ItinerarySorter\Model;
class Accommodation
{
/**
* @var string
*/
private $type;
* @var null|string
private $id;
private $gate;
private $seat;
private $baggage;
private $baggage_pickup;
* @param string $type
* @param null|string $id
* @param null|string $gate
* @param null|string $seat
* @param null|string $baggage
* @param null|string $baggage_pickup
public function __construct($type, $id = null, $gate = null, $seat = null, $baggage = null, $baggage_pickup = null)
$this->type = $type;
$this->id = $id;
$this->gate = $gate;
$this->seat = $seat;
$this->baggage = $baggage;
$this->baggage_pickup = $baggage_pickup;
}
* @return string
public function getType()
return $this->type;
public function getId()
return $this->id;
* @return null|string
public function getGate()
return $this->gate;
public function getSeat()
return $this->seat;
public function getBaggage()
return $this->baggage;
public function getBaggagePickup()
return $this->baggage_pickup;