DescribeThemeItem::getColors()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
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