DescribeLayoutComponent   A
last analyzed

Complexity

Total Complexity 9

Size/Duplication

Total Lines 104
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 20
c 1
b 0
f 0
dl 0
loc 104
rs 10
wmc 9

9 Methods

Rating   Name   Duplication   Size   Complexity  
A setTabOrder() 0 4 1
A setDisplayLines() 0 4 1
A getDisplayLines() 0 3 1
A getValue() 0 3 1
A setValue() 0 4 1
A setType() 0 4 1
A __construct() 0 5 1
A getType() 0 3 1
A getTabOrder() 0 3 1
1
<?php
2
3
namespace SForce\Wsdl;
4
5
class DescribeLayoutComponent
6
{
7
    /**
8
     * @var int
9
     */
10
    protected $displayLines = null;
11
12
    /**
13
     * @var int
14
     */
15
    protected $tabOrder = null;
16
17
    /**
18
     * @var layoutComponentType
19
     */
20
    protected $type = null;
21
22
    /**
23
     * @var string
24
     */
25
    protected $value = null;
26
27
    /**
28
     * @param int $displayLines
29
     * @param int $tabOrder
30
     * @param layoutComponentType $type
31
     */
32
    public function __construct($displayLines = null, $tabOrder = null, $type = null)
33
    {
34
        $this->displayLines = $displayLines;
35
        $this->tabOrder = $tabOrder;
36
        $this->type = $type;
37
    }
38
39
    /**
40
     * @return int
41
     */
42
    public function getDisplayLines()
43
    {
44
        return $this->displayLines;
45
    }
46
47
    /**
48
     * @param int $displayLines
49
     * @return \SForce\Wsdl\DescribeLayoutComponent
50
     */
51
    public function setDisplayLines($displayLines)
52
    {
53
        $this->displayLines = $displayLines;
54
        return $this;
55
    }
56
57
    /**
58
     * @return int
59
     */
60
    public function getTabOrder()
61
    {
62
        return $this->tabOrder;
63
    }
64
65
    /**
66
     * @param int $tabOrder
67
     * @return \SForce\Wsdl\DescribeLayoutComponent
68
     */
69
    public function setTabOrder($tabOrder)
70
    {
71
        $this->tabOrder = $tabOrder;
72
        return $this;
73
    }
74
75
    /**
76
     * @return layoutComponentType
77
     */
78
    public function getType()
79
    {
80
        return $this->type;
81
    }
82
83
    /**
84
     * @param layoutComponentType $type
85
     * @return \SForce\Wsdl\DescribeLayoutComponent
86
     */
87
    public function setType($type)
88
    {
89
        $this->type = $type;
90
        return $this;
91
    }
92
93
    /**
94
     * @return string
95
     */
96
    public function getValue()
97
    {
98
        return $this->value;
99
    }
100
101
    /**
102
     * @param string $value
103
     * @return \SForce\Wsdl\DescribeLayoutComponent
104
     */
105
    public function setValue($value)
106
    {
107
        $this->value = $value;
108
        return $this;
109
    }
110
}
111