Completed
Pull Request — master (#27)
by Benjamin
16:41
created

User   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 37
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getId() 0 4 1
A setId() 0 6 1
1
<?php
2
3
namespace Alpixel\Bundle\CMSBundle\Tests\Functional\Fixture\TestBundle\Entity;
4
5
use Doctrine\ORM\Mapping as ORM;
6
use Alpixel\Bundle\UserBundle\Entity\User as BaseUser;
7
8
9
/**
10
 * @ORM\Entity
11
 * @ORM\Table(name="account_user")
12
 */
13
class User extends BaseUser
14
{
15
16
    /**
17
     * @var integer
18
     *
19
     * @ORM\Column(name="user_id", type="integer")
20
     * @ORM\Id
21
     * @ORM\GeneratedValue(strategy="AUTO")
22
     */
23
    protected $id;
24
25
26
    /**
27
     * Gets the value of id.
28
     *
29
     * @return integer
30
     */
31
    public function getId()
32
    {
33
        return $this->id;
34
    }
35
36
    /**
37
     * Sets the value of id.
38
     *
39
     * @param integer $id the id
40
     *
41
     * @return self
42
     */
43
    public function setId($id)
44
    {
45
        $this->id = $id;
46
47
        return $this;
48
    }
49
}