Completed
Push — develop ( a8951f...6805ee )
by Dieter
05:48
created

LocationInfo::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
/**
3
 * Amadeus
4
 *
5
 * Copyright 2015 Amadeus Benelux NV
6
 */
7
8
namespace Amadeus\Client\Struct\Air\MultiAvailability;
9
10
/**
11
 * LocationInfo
12
 *
13
 * @package Amadeus\Client\Struct\Air\MultiAvailability
14
 * @author Dieter Devlieghere <[email protected]>
15
 */
16
class LocationInfo
17
{
18
    /**
19
     * @var string
20
     */
21
    public $cityAirport;
22
23
    /**
24
     * 701	Force request to Airport/City code (depending of type of display)
25
     *
26
     * @var string
27
     */
28
    public $modifier;
29
30
    /**
31
     * LocationInfo constructor.
32
     *
33
     * @param string $code
34
     */
35
    public function __construct($code)
36
    {
37
        $this->cityAirport = $code;
38
    }
39
}
40