| 1 | <?php |
||
| 16 | class Connection |
||
| 17 | { |
||
| 18 | const INDICATOR_EXCLUDE = 700; |
||
| 19 | const INDICATOR_FORCE_AIRPORT_CITY = 701; |
||
| 20 | const INDICATOR_AIRPORT_ASSOCIATION = "NAA"; |
||
| 21 | const INDICATOR_NONSTOP_DIRECT_CONNECTION = "NDC"; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @var string |
||
| 25 | */ |
||
| 26 | public $location; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @var string |
||
| 30 | */ |
||
| 31 | public $time; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * self::INDICATOR_* |
||
| 35 | * |
||
| 36 | * @var string|int |
||
| 37 | */ |
||
| 38 | public $indicatorList; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Connection constructor. |
||
| 42 | * |
||
| 43 | * @param string $location |
||
| 44 | * @param string|int|null $indicator self::INDICATOR_* |
||
| 45 | */ |
||
| 46 | public function __construct($location, $indicator = null) |
||
| 51 | } |
||
| 52 |