SearchLayoutFieldsDisplayed::setFields()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
c 1
b 0
f 0
nc 1
nop 1
dl 0
loc 4
rs 10
1
<?php
2
3
namespace SForce\Wsdl;
4
5
class SearchLayoutFieldsDisplayed
6
{
7
    /**
8
     * @var boolean
9
     */
10
    protected $applicable = null;
11
12
    /**
13
     * @var SearchLayoutField[]
14
     */
15
    protected $fields = 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\SearchLayoutFieldsDisplayed
36
     */
37
    public function setApplicable($applicable)
38
    {
39
        $this->applicable = $applicable;
40
        return $this;
41
    }
42
43
    /**
44
     * @return SearchLayoutField[]
45
     */
46
    public function getFields()
47
    {
48
        return $this->fields;
49
    }
50
51
    /**
52
     * @param SearchLayoutField[] $fields
53
     * @return \SForce\Wsdl\SearchLayoutFieldsDisplayed
54
     */
55
    public function setFields(array $fields = null)
56
    {
57
        $this->fields = $fields;
58
        return $this;
59
    }
60
}
61