Gallery   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
dl 0
loc 21
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getId() 0 4 1
1
<?php
2
3
namespace App\Entity;
4
5
use Sonata\MediaBundle\Entity\BaseGallery as BaseGallery;
6
use Doctrine\ORM\Mapping as ORM;
7
8
/**
9
 * @ORM\Table(name="media__gallery")
10
 * @ORM\Entity
11
 */
12
class Gallery extends BaseGallery
13
{
14
    /**
15
     * @var integer
16
     *
17
     * @ORM\Column(name="id", type="integer")
18
     * @ORM\Id
19
     * @ORM\GeneratedValue(strategy="AUTO")
20
     */
21
    protected $id;
22
23
    /**
24
     * Get id
25
     *
26
     * @return integer
27
     */
28
    public function getId()
29
    {
30
        return $this->id;
31
    }
32
}
33