Manager::setSalary()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
/*
4
 * This file is part of the rafrsr/lib-array2object package.
5
 *
6
 * (c) Rafael SR <https://github.com/rafrsr>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
namespace Rafrsr\LibArray2Object\Tests\Fixtures\NameSpace2;
12
13
/**
14
 * Class Manager.
15
 */
16
class Manager
17
{
18
    /**
19
     * @var string
20
     */
21
    protected $name;
22
23
    /**
24
     * @var float
25
     */
26
    protected $salary;
27
28
    /**
29
     * @return string
30
     */
31
    public function getName()
32
    {
33
        return $this->name;
34
    }
35
36
    /**
37
     * @param string $name
38
     *
39
     * @return $this
40
     */
41
    public function setName($name)
42
    {
43
        $this->name = $name;
44
45
        return $this;
46
    }
47
48
    /**
49
     * @return float
50
     */
51
    public function getSalary()
52
    {
53
        return $this->salary;
54
    }
55
56
    /**
57
     * @param float $salary
58
     *
59
     * @return $this
60
     */
61
    public function setSalary($salary)
62
    {
63
        $this->salary = $salary;
64
65
        return $this;
66
    }
67
}
68