DescribeThemeItem   A
last analyzed

Complexity

Total Complexity 7

Size/Duplication

Total Lines 77
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 14
c 1
b 0
f 0
dl 0
loc 77
rs 10
wmc 7

7 Methods

Rating   Name   Duplication   Size   Complexity  
A getIcons() 0 3 1
A setColors() 0 4 1
A getName() 0 3 1
A getColors() 0 3 1
A __construct() 0 3 1
A setName() 0 4 1
A setIcons() 0 4 1
1
<?php
2
3
namespace SForce\Wsdl;
4
5
class DescribeThemeItem
6
{
7
    /**
8
     * @var DescribeColor[]
9
     */
10
    protected $colors = null;
11
12
    /**
13
     * @var DescribeIcon[]
14
     */
15
    protected $icons = null;
16
17
    /**
18
     * @var string
19
     */
20
    protected $name = null;
21
22
    /**
23
     * @param string $name
24
     */
25
    public function __construct($name = null)
26
    {
27
        $this->name = $name;
28
    }
29
30
    /**
31
     * @return DescribeColor[]
32
     */
33
    public function getColors()
34
    {
35
        return $this->colors;
36
    }
37
38
    /**
39
     * @param DescribeColor[] $colors
40
     * @return \SForce\Wsdl\DescribeThemeItem
41
     */
42
    public function setColors(array $colors = null)
43
    {
44
        $this->colors = $colors;
45
        return $this;
46
    }
47
48
    /**
49
     * @return DescribeIcon[]
50
     */
51
    public function getIcons()
52
    {
53
        return $this->icons;
54
    }
55
56
    /**
57
     * @param DescribeIcon[] $icons
58
     * @return \SForce\Wsdl\DescribeThemeItem
59
     */
60
    public function setIcons(array $icons = null)
61
    {
62
        $this->icons = $icons;
63
        return $this;
64
    }
65
66
    /**
67
     * @return string
68
     */
69
    public function getName()
70
    {
71
        return $this->name;
72
    }
73
74
    /**
75
     * @param string $name
76
     * @return \SForce\Wsdl\DescribeThemeItem
77
     */
78
    public function setName($name)
79
    {
80
        $this->name = $name;
81
        return $this;
82
    }
83
}
84