Completed
Push — master ( 98ce91...54c84c )
by Ghazi
02:25
created

GetDefaultConfigXMLResponse   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A getRawXml() 0 4 1
1
<?php
2
/**
3
 * BigBlueButton open source conferencing system - http://www.bigbluebutton.org/.
4
 *
5
 * Copyright (c) 2016 BigBlueButton Inc. and by respective authors (see below).
6
 *
7
 * This program is free software; you can redistribute it and/or modify it under the
8
 * terms of the GNU Lesser General Public License as published by the Free Software
9
 * Foundation; either version 3.0 of the License, or (at your option) any later
10
 * version.
11
 *
12
 * BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
13
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14
 * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
15
 *
16
 * You should have received a copy of the GNU Lesser General Public License along
17
 * with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
18
 */
19
namespace BigBlueButton\Responses;
20
21
/**
22
 * Class GetDefaultConfigXMLUrlResponse
23
 * @package BigBlueButton\Responses
24
 */
25
class GetDefaultConfigXMLResponse
26
{
27
    /**
28
     * @var \SimpleXMLElement
29
     */
30
    protected $rawXml;
31
32
    /**
33
     * BaseResponse constructor.
34
     *
35
     * @param \SimpleXMLElement $xml
36
     */
37
    public function __construct(\SimpleXMLElement $xml)
38
    {
39
        $this->rawXml = $xml;
40
    }
41
42
    /**
43
     * @return \SimpleXMLElement
44
     */
45
    public function getRawXml()
46
    {
47
        return $this->rawXml;
48
    }
49
}
50