DescribeGlobalTheme   A
last analyzed

Complexity

Total Complexity 5

Size/Duplication

Total Lines 56
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 11
c 1
b 0
f 0
dl 0
loc 56
rs 10
wmc 5

5 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A setTheme() 0 4 1
A getTheme() 0 3 1
A setGlobal() 0 4 1
A getGlobal() 0 3 1
1
<?php
2
3
namespace SForce\Wsdl;
4
5
class DescribeGlobalTheme
6
{
7
    /**
8
     * @var DescribeGlobalResult
9
     */
10
    protected $global = null;
11
12
    /**
13
     * @var DescribeThemeResult
14
     */
15
    protected $theme = null;
16
17
    /**
18
     * @param DescribeGlobalResult $global
19
     * @param DescribeThemeResult $theme
20
     */
21
    public function __construct($global = null, $theme = null)
22
    {
23
        $this->global = $global;
24
        $this->theme = $theme;
25
    }
26
27
    /**
28
     * @return DescribeGlobalResult
29
     */
30
    public function getGlobal()
31
    {
32
        return $this->global;
33
    }
34
35
    /**
36
     * @param DescribeGlobalResult $global
37
     * @return \SForce\Wsdl\DescribeGlobalTheme
38
     */
39
    public function setGlobal($global)
40
    {
41
        $this->global = $global;
42
        return $this;
43
    }
44
45
    /**
46
     * @return DescribeThemeResult
47
     */
48
    public function getTheme()
49
    {
50
        return $this->theme;
51
    }
52
53
    /**
54
     * @param DescribeThemeResult $theme
55
     * @return \SForce\Wsdl\DescribeGlobalTheme
56
     */
57
    public function setTheme($theme)
58
    {
59
        $this->theme = $theme;
60
        return $this;
61
    }
62
}
63