Code Duplication    Length = 59-59 lines in 2 locations

src/API/getAllRoomAttributes.php 1 location

@@ 5-63 (lines=59) @@
2
3
namespace Gueststream\PMS\IQWare\API;
4
5
class getAllRoomAttributes
6
{
7
8
    /**
9
     * @var int $guid
10
     */
11
    protected $guid = null;
12
13
    /**
14
     * @var string $language
15
     */
16
    protected $language = null;
17
18
    /**
19
     * @param int $guid
20
     * @param string $language
21
     */
22
    public function __construct($guid, $language)
23
    {
24
        $this->guid = $guid;
25
        $this->language = $language;
26
    }
27
28
    /**
29
     * @return int
30
     */
31
    public function getGuid()
32
    {
33
        return $this->guid;
34
    }
35
36
    /**
37
     * @param int $guid
38
     * @return \Gueststream\PMS\IQWare\API\getAllRoomAttributes
39
     */
40
    public function setGuid($guid)
41
    {
42
        $this->guid = $guid;
43
        return $this;
44
    }
45
46
    /**
47
     * @return string
48
     */
49
    public function getLanguage()
50
    {
51
        return $this->language;
52
    }
53
54
    /**
55
     * @param string $language
56
     * @return \Gueststream\PMS\IQWare\API\getAllRoomAttributes
57
     */
58
    public function setLanguage($language)
59
    {
60
        $this->language = $language;
61
        return $this;
62
    }
63
}
64

src/API/getAllRoomLocations.php 1 location

@@ 5-63 (lines=59) @@
2
3
namespace Gueststream\PMS\IQWare\API;
4
5
class getAllRoomLocations
6
{
7
8
    /**
9
     * @var int $guid
10
     */
11
    protected $guid = null;
12
13
    /**
14
     * @var string $language
15
     */
16
    protected $language = null;
17
18
    /**
19
     * @param int $guid
20
     * @param string $language
21
     */
22
    public function __construct($guid, $language)
23
    {
24
        $this->guid = $guid;
25
        $this->language = $language;
26
    }
27
28
    /**
29
     * @return int
30
     */
31
    public function getGuid()
32
    {
33
        return $this->guid;
34
    }
35
36
    /**
37
     * @param int $guid
38
     * @return \Gueststream\PMS\IQWare\API\getAllRoomLocations
39
     */
40
    public function setGuid($guid)
41
    {
42
        $this->guid = $guid;
43
        return $this;
44
    }
45
46
    /**
47
     * @return string
48
     */
49
    public function getLanguage()
50
    {
51
        return $this->language;
52
    }
53
54
    /**
55
     * @param string $language
56
     * @return \Gueststream\PMS\IQWare\API\getAllRoomLocations
57
     */
58
    public function setLanguage($language)
59
    {
60
        $this->language = $language;
61
        return $this;
62
    }
63
}
64