SearchLayoutButtonsDisplayed   A
last analyzed

Complexity

Total Complexity 5

Size/Duplication

Total Lines 54
Duplicated Lines 0 %

Importance

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

5 Methods

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