Completed
Push — master ( fb3047...828efc )
by Rafael
02:41
created

Manager   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getName() 0 4 1
A setName() 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;
11
12
/**
13
 * Class Manager
14
 */
15
class Manager
16
{
17
    /**
18
     * @var string
19
     */
20
    protected $name;
21
22
    /**
23
     * @return string
24
     */
25
    public function getName()
26
    {
27
        return $this->name;
28
    }
29
30
    /**
31
     * @param string $name
32
     *
33
     * @return $this
34
     */
35
    public function setName($name)
36
    {
37
        $this->name = $name;
38
39
        return $this;
40
    }
41
}