Accommodation::getBaggagePickup()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
namespace ItinerarySorter\Model;
3
4
class Accommodation
5
{
6
    /**
7
     * @var string
8
     */
9
    private $type;
10
11
    /**
12
     * @var null|string
13
     */
14
    private $id;
15
16
    /**
17
     * @var null|string
18
     */
19
    private $gate;
20
21
    /**
22
     * @var null|string
23
     */
24
    private $seat;
25
26
    /**
27
     * @var null|string
28
     */
29
    private $baggage;
30
31
    /**
32
     * @var null|string
33
     */
34
    private $baggage_pickup;
35
36
    /**
37
     * @param string $type
38
     * @param null|string $id
39
     * @param null|string $gate
40
     * @param null|string $seat
41
     * @param null|string $baggage
42
     * @param null|string $baggage_pickup
43
     */
44
    public function __construct($type, $id = null, $gate = null, $seat = null, $baggage = null, $baggage_pickup = null)
45
    {
46
        $this->type = $type;
47
        $this->id = $id;
48
        $this->gate = $gate;
49
        $this->seat = $seat;
50
        $this->baggage = $baggage;
51
        $this->baggage_pickup = $baggage_pickup;
52
    }
53
54
    /**
55
     * @return string
56
     */
57
    public function getType()
58
    {
59
        return $this->type;
60
    }
61
62
    /**
63
     * @return string
64
     */
65
    public function getId()
66
    {
67
        return $this->id;
68
    }
69
70
    /**
71
     * @return null|string
72
     */
73
    public function getGate()
74
    {
75
        return $this->gate;
76
    }
77
78
    /**
79
     * @return null|string
80
     */
81
    public function getSeat()
82
    {
83
        return $this->seat;
84
    }
85
86
    /**
87
     * @return null|string
88
     */
89
    public function getBaggage()
90
    {
91
        return $this->baggage;
92
    }
93
94
    /**
95
     * @return null|string
96
     */
97
    public function getBaggagePickup()
98
    {
99
        return $this->baggage_pickup;
100
    }
101
}
102