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

Manager::setName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 6
rs 9.4285
cc 1
eloc 3
nc 1
nop 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
}