/**
  * Constructor for FlightBaseBoardingCard
  *
  * @param string $departureLocation Each flight boarding pass has a departure location, an origin airport for example
  * @param string $arrivalLocation Each flight boarding pass has a arrival location, a destination airport for example
  * @param string $seat A flight boarding pass has a seat # assigned to it. On rare occasions, the passenger makes a choice
  * @param string $flight Each flight has a flight number
  * @param string $gate The gate # to reach the airport flight bus
  * @param string $counter which is used in case some one drops off luggage. This can't always be the case ( web check in for example)
  *
  */
 function __construct($departureLocation, $arrivalLocation, $seat, $flight, $gate, $counter = null)
 {
     parent::__construct($departureLocation, $arrivalLocation, $seat);
     $this->flight = $flight;
     $this->gate = $gate;
     $this->counter = $counter;
 }
 /**
  * Constructor for TrainBaseBoardingCard
  *
  * @param string $departureLocation Departing point for a boarding pass. Origin of the traveller
  * @param string $arrivalLocation Arrival Location for a boarding pass. This is the destination point for one leg of trip, for a traveller
  * @param string $seat Seat # for a boarding pass, common to all kinds of boarding passes
  * @param string $train This denotes train # for a train boarding pass
  */
 function __construct($departureLocation, $arrivalLocation, $seat, $train)
 {
     /*
      *  This is the step that creates the inheritance chain,
      *  so TrainBaseBoardingCard inherits from BoardingCards.
      */
     parent::__construct($departureLocation, $arrivalLocation, $seat);
     $this->train = $train;
 }
 /**
  * Constructor for TrainBaseBoardingCard
  *
  * @param string $departureLocation Departing point for a boarding pass. Origin of the traveller
  * @param string $arrivalLocation Arrival Location for a boarding pass. This is the destination point for one leg of trip, for a traveller
  * @param string $seat Seat # for a boarding pass, common to all kinds of boarding passes
  */
 function __construct($departureLocation, $arrivalLocation, $seat = null)
 {
     parent::__construct($departureLocation, $arrivalLocation, $seat);
 }