Completed
Push — master ( 0dd019...03ce40 )
by Burhan
04:22
created

EntityVarMacroOutput::setLength()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 1
dl 0
loc 3
ccs 0
cts 2
cp 0
crap 2
rs 10
1
<?php
2
/**
3
 * This file is part of graze/unicontroller-client.
4
 *
5
 * Copyright (c) 2016 Nature Delivered Ltd. <https://www.graze.com>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 *
10
 * @license https://github.com/graze/unicontroller-client/blob/master/LICENSE.md
11
 * @link https://github.com/graze/unicontroller-client
12
 */
13
namespace Graze\UnicontrollerClient\Entity\Entity;
14
15
use Graze\UnicontrollerClient\Entity\Entity\EntityInterface;
16
17
class EntityVarMacroOutput implements EntityInterface
18
{
19
    /**
20
     * @var string
21
     */
22
    protected $name;
23
24
    /**
25
     * @var int
26
     */
27
    protected $cPadding;
28
29
    /**
30
     * @var int
31
     */
32
    protected $length;
33
34
    /**
35
     * @return string
36
     */
37 1
    public function getName()
38
    {
39 1
        return $this->name;
40
    }
41
42
    /**
43
     * @param string $name
44
     */
45
    public function setName($name)
46
    {
47
        $this->name = $name;
48
    }
49
50
    /**
51
     * @return int
52
     */
53 1
    public function getcPadding()
54
    {
55 1
        return $this->cPadding;
56
    }
57
58
    /**
59
     * @param int $cPadding
60
     */
61
    public function setcPadding($cPadding)
62
    {
63
        $this->cPadding = $cPadding;
64
    }
65
66
    /**
67
     * @return int
68
     */
69 1
    public function getLength()
70
    {
71 1
        return $this->length;
72
    }
73
74
    /**
75
     * @param int $length
76
     */
77
    public function setLength($length)
78
    {
79
        $this->length = $length;
80
    }
81
}
82