User::getUsername()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Ddeboer\DataImport\Tests\Fixtures\Entity;
4
5
/**
6
 * @Entity()
7
 */
8
class User
9
{
10
    /** @Id @GeneratedValue @Column(type="integer") **/
11
    private $id;
12
13
    /** @Column(type="string") */
14
    private $username;
15
16
    public function getId()
17
    {
18
        return $this->id;
19
    }
20
21
    public function getUsername()
22
    {
23
        return $this->username;
24
    }
25
26
    public function setUsername($username)
27
    {
28
        $this->username = $username;
29
    }
30
}
31