Completed
Push — master ( a51bc6...a36578 )
by Rafael
03:14
created

Manager   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 52
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 1 Features 0
Metric Value
wmc 4
c 1
b 1
f 0
lcom 0
cbo 0
dl 0
loc 52
rs 10

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getName() 0 4 1
A setName() 0 6 1
A getSalary() 0 4 1
A setSalary() 0 6 1
1
<?php
2
3
/**
4
 * LICENSE: This file is subject to the terms and conditions defined in
5
 * file 'LICENSE', which is part of this source code package.
6
 *
7
 * @copyright 2016 Copyright(c) - All rights reserved.
8
 */
9
10
namespace Rafrsr\LibArray2Object\Tests\Fixtures\NameSpace2;
11
12
/**
13
 * Class Manager
14
 */
15
class Manager
16
{
17
    /**
18
     * @var string
19
     */
20
    protected $name;
21
22
    /**
23
     * @var float
24
     */
25
    protected $salary;
26
27
    /**
28
     * @return string
29
     */
30
    public function getName()
31
    {
32
        return $this->name;
33
    }
34
35
    /**
36
     * @param string $name
37
     *
38
     * @return $this
39
     */
40
    public function setName($name)
41
    {
42
        $this->name = $name;
43
44
        return $this;
45
    }
46
47
    /**
48
     * @return float
49
     */
50
    public function getSalary()
51
    {
52
        return $this->salary;
53
    }
54
55
    /**
56
     * @param float $salary
57
     *
58
     * @return $this
59
     */
60
    public function setSalary($salary)
61
    {
62
        $this->salary = $salary;
63
64
        return $this;
65
    }
66
}