LabelsSearchMetadata   A
last analyzed

Complexity

Total Complexity 5

Size/Duplication

Total Lines 50
Duplicated Lines 0 %

Importance

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

5 Methods

Rating   Name   Duplication   Size   Complexity  
A getEntityFieldLabels() 0 3 1
A __construct() 0 2 1
A setEntityName() 0 4 1
A setEntityFieldLabels() 0 4 1
A getEntityName() 0 3 1
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