DummyRedirect   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 14
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getId() 0 4 1
1
<?php
2
3
namespace Zenstruck\RedirectBundle\Tests\Fixture\Bundle\Entity;
4
5
use Doctrine\ORM\Mapping as ORM;
6
use Zenstruck\RedirectBundle\Model\Redirect;
7
8
/**
9
 * @author Kevin Bond <[email protected]>
10
 *
11
 * @ORM\Entity
12
 * @ORM\Table(name="redirects")
13
 */
14
class DummyRedirect extends Redirect
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