/** * Class constructor * * @param string $serialNumber * @param string $description * @param string $transitType */ public function __construct($serialNumber, $description, $transitType = self::TYPE_GENERIC) { // Required for boarding passes; otherwise not allowed $this->transitType = $transitType; // Call parent parent::__construct($serialNumber, $description); }