DescribeSearchableEntityResult::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 3
c 1
b 0
f 0
nc 1
nop 3
dl 0
loc 5
rs 10
1
<?php
2
3
namespace SForce\Wsdl;
4
5
class DescribeSearchableEntityResult
6
{
7
    /**
8
     * @var string
9
     */
10
    protected $label = null;
11
12
    /**
13
     * @var string
14
     */
15
    protected $name = null;
16
17
    /**
18
     * @var string
19
     */
20
    protected $pluralLabel = null;
21
22
    /**
23
     * @param string $label
24
     * @param string $name
25
     * @param string $pluralLabel
26
     */
27
    public function __construct($label = null, $name = null, $pluralLabel = null)
28
    {
29
        $this->label = $label;
30
        $this->name = $name;
31
        $this->pluralLabel = $pluralLabel;
32
    }
33
34
    /**
35
     * @return string
36
     */
37
    public function getLabel()
38
    {
39
        return $this->label;
40
    }
41
42
    /**
43
     * @param string $label
44
     * @return \SForce\Wsdl\DescribeSearchableEntityResult
45
     */
46
    public function setLabel($label)
47
    {
48
        $this->label = $label;
49
        return $this;
50
    }
51
52
    /**
53
     * @return string
54
     */
55
    public function getName()
56
    {
57
        return $this->name;
58
    }
59
60
    /**
61
     * @param string $name
62
     * @return \SForce\Wsdl\DescribeSearchableEntityResult
63
     */
64
    public function setName($name)
65
    {
66
        $this->name = $name;
67
        return $this;
68
    }
69
70
    /**
71
     * @return string
72
     */
73
    public function getPluralLabel()
74
    {
75
        return $this->pluralLabel;
76
    }
77
78
    /**
79
     * @param string $pluralLabel
80
     * @return \SForce\Wsdl\DescribeSearchableEntityResult
81
     */
82
    public function setPluralLabel($pluralLabel)
83
    {
84
        $this->pluralLabel = $pluralLabel;
85
        return $this;
86
    }
87
}
88