Completed
Push — master ( 090086...39b0a3 )
by Josh
30:05 queued 13:42
created

GetAllRoomsSpecificationsResponse   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 35
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 1 Features 0
Metric Value
wmc 3
lcom 0
cbo 0
dl 0
loc 35
rs 10
c 1
b 1
f 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A getGetAllRoomsSpecificationsResult() 0 4 1
A setGetAllRoomsSpecificationsResult() 0 5 1
1
<?php
2
3
namespace Gueststream\PMS\IQWare\API;
4
5
class GetAllRoomsSpecificationsResponse
6
{
7
8
    /**
9
     * @var ArrayOfRoomSpecification $getAllRoomsSpecificationsResult
10
     */
11
    protected $getAllRoomsSpecificationsResult = null;
12
13
    /**
14
     * @param ArrayOfRoomSpecification $getAllRoomsSpecificationsResult
15
     */
16
    public function __construct($getAllRoomsSpecificationsResult)
17
    {
18
        $this->getAllRoomsSpecificationsResult = $getAllRoomsSpecificationsResult;
19
    }
20
21
    /**
22
     * @return ArrayOfRoomSpecification
23
     */
24
    public function getGetAllRoomsSpecificationsResult()
25
    {
26
        return $this->getAllRoomsSpecificationsResult;
27
    }
28
29
    /**
30
     * @param ArrayOfRoomSpecification $getAllRoomsSpecificationsResult
31
     *
32
*@return \Gueststream\PMS\IQWare\API\GetAllRoomsSpecificationsResponse
33
     */
34
    public function setGetAllRoomsSpecificationsResult($getAllRoomsSpecificationsResult)
35
    {
36
        $this->getAllRoomsSpecificationsResult = $getAllRoomsSpecificationsResult;
37
        return $this;
38
    }
39
}
40