DummyNotFound::getId()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Zenstruck\RedirectBundle\Tests\Fixture\Bundle\Entity;
4
5
use Doctrine\ORM\Mapping as ORM;
6
use Zenstruck\RedirectBundle\Model\NotFound;
7
8
/**
9
 * @author Kevin Bond <[email protected]>
10
 *
11
 * @ORM\Entity
12
 * @ORM\Table(name="not_founds")
13
 */
14
class DummyNotFound extends NotFound
15
{
16
    /**
17
     * @ORM\Id
18
     * @ORM\Column(type="integer")
19
     * @ORM\GeneratedValue(strategy="AUTO")
20
     */
21
    private $id;
22
23
    public function getId()
24
    {
25
        return $this->id;
26
    }
27
}
28