Completed
Push — master ( 30bfa2...7adf0d )
by Bukashk0zzz
02:13
created

BadUser::setName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 1 Features 1
Metric Value
c 1
b 1
f 1
dl 0
loc 6
rs 9.4285
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
3
/*
4
 * This file is part of the FilterBundle
5
 *
6
 * (c) Denis Golubovskiy <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Bukashk0zzz\FilterBundle\Tests\Fixtures;
13
14
use Bukashk0zzz\FilterBundle\Annotation\FilterAnnotation as Filter;
15
16
/**
17
 * BadUser Entity
18
 */
19
class BadUser
20
{
21
    /**
22
     * @Filter("\stdClass")
23
     * @var string
24
     */
25
    protected $name;
26
27
    /**
28
     * @var string
29
     */
30
    protected $about;
31
32
    /**
33
     * @return string
34
     */
35
    public function getName()
36
    {
37
        return $this->name;
38
    }
39
40
    /**
41
     * @param string $name
42
     * @return $this
43
     */
44
    public function setName($name)
45
    {
46
        $this->name = $name;
47
48
        return $this;
49
    }
50
51
    /**
52
     * @return string
53
     */
54
    public function getAbout()
55
    {
56
        return $this->about;
57
    }
58
59
    /**
60
     * @param string $about
61
     * @return $this
62
     */
63
    public function setAbout($about)
64
    {
65
        $this->about = $about;
66
67
        return $this;
68
    }
69
}
70