Transform::setTransforms()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 5
ccs 3
cts 3
cp 1
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 1
crap 1
1
<?php
2
3
namespace PhMap;
4
5
/**
6
 * Class Transforms
7
 * @package PhMap
8
 */
9
class Transform {
10
11
    /**
12
     * @var string
13
     */
14
    private $inputFieldName;
15
16
    /**
17
     * @var string
18
     */
19
    private $outputFieldName;
20
21
    /**
22
     * @var Transforms
23
     */
24
    private $transforms;
25
26
    /**
27
     * @return string
28
     */
29 3
    public function getInputFieldName() {
30 3
        return $this->inputFieldName;
31
    }
32
33
    /**
34
     * @param string $inputFieldName
35
     * @return $this
36
     */
37 3
    public function setInputFieldName($inputFieldName) {
38 3
        $this->inputFieldName = $inputFieldName;
39
40 3
        return $this;
41
    }
42
43
    /**
44
     * @return string
45
     */
46 3
    public function getOutputFieldName() {
47 3
        return $this->outputFieldName;
48
    }
49
50
    /**
51
     * @param string $outputFieldName
52
     * @return $this
53
     */
54 3
    public function setOutputFieldName($outputFieldName) {
55 3
        $this->outputFieldName = $outputFieldName;
56
57 3
        return $this;
58
    }
59
60
    /**
61
     * @return Transforms
62
     */
63 3
    public function getTransforms() {
64 3
        return $this->transforms;
65
    }
66
67
    /**
68
     * @param Transforms $transforms
69
     * @return $this
70
     */
71 3
    public function setTransforms(Transforms $transforms) {
72 3
        $this->transforms = $transforms;
73
74 3
        return $this;
75
    }
76
77
}