Argument::getName()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
/*
4
 * This file is part of the AMFConsoleBundle.
5
 *
6
 * For the full copyright and license information, please view the LICENSE
7
 * file that was distributed with this source code.
8
 */
9
10
namespace AMF\ConsoleBundle\Form\Model;
11
12
/**
13
 * Model class for argument.
14
 *
15
 * @author Amine Fattouch <[email protected]>
16
 */
17
class Argument
18
{
19
    /**
20
     * @var string
21
     */
22
    private $name;
23
24
    /**
25
     * @var string
26
     */
27
    private $value;
28
29
    /**
30
     * Getter for field name.
31
     *
32
     * @return string
33
     */
34
    public function getName()
35
    {
36
        return $this->name;
37
    }
38
39
    /**
40
     * Setter for field name.
41
     *
42
     * @param string $name
43
     *
44
     * @return self
45
     */
46
    public function setName($name = null)
47
    {
48
        $this->name = $name;
49
50
        return $this;
51
    }
52
53
    /**
54
     * Getter for field value.
55
     *
56
     * @return string
57
     */
58
    public function getValue()
59
    {
60
        return $this->value;
61
    }
62
63
    /**
64
     * Setter for field value.
65
     *
66
     * @param string $value
67
     *
68
     * @return self
69
     */
70
    public function setValue($value = null)
71
    {
72
        $this->value = $value;
73
74
        return $this;
75
    }
76
}
77