LabelsSearchMetadata::setEntityFieldLabels()   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 LabelsSearchMetadata
6
{
7
    /**
8
     * @var NameValuePair[]
9
     */
10
    protected $entityFieldLabels = null;
11
12
    /**
13
     * @var string
14
     */
15
    protected $entityName = null;
16
17
    public function __construct()
18
    {
19
    }
20
21
    /**
22
     * @return NameValuePair[]
23
     */
24
    public function getEntityFieldLabels()
25
    {
26
        return $this->entityFieldLabels;
27
    }
28
29
    /**
30
     * @param NameValuePair[] $entityFieldLabels
31
     * @return \SForce\Wsdl\LabelsSearchMetadata
32
     */
33
    public function setEntityFieldLabels(array $entityFieldLabels = null)
34
    {
35
        $this->entityFieldLabels = $entityFieldLabels;
36
        return $this;
37
    }
38
39
    /**
40
     * @return string
41
     */
42
    public function getEntityName()
43
    {
44
        return $this->entityName;
45
    }
46
47
    /**
48
     * @param string $entityName
49
     * @return \SForce\Wsdl\LabelsSearchMetadata
50
     */
51
    public function setEntityName($entityName)
52
    {
53
        $this->entityName = $entityName;
54
        return $this;
55
    }
56
}
57