Completed
Push — master ( e32202...083db4 )
by Alex
08:17
created

CharacterStub   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 18
rs 10
c 0
b 0
f 0
1
<?php
2
3
/**
4
 * This file is part of the PierstovalCharacterManagerBundle package.
5
 *
6
 * (c) Alexandre Rock Ancelet <[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 Pierstoval\Bundle\CharacterManagerBundle\Tests\Fixtures\Stubs\Entity;
13
14
use Doctrine\ORM\Mapping as ORM;
15
use Pierstoval\Bundle\CharacterManagerBundle\Entity\Character as BaseCharacter;
16
17
/**
18
 * @ORM\Entity()
19
 * @ORM\Table(name="character_stubs")
20
 */
21
class CharacterStub extends BaseCharacter
22
{
23
    /**
24
     * @var int
25
     * @ORM\Column(name="id", type="integer")
26
     * @ORM\Id
27
     * @ORM\GeneratedValue(strategy="AUTO")
28
     */
29
    protected $id;
30
31
    /**
32
     * @return int
33
     */
34
    public function getId(): int
35
    {
36
        return $this->id;
37
    }
38
}
39