Completed
Push — master ( e547b2...7aca4a )
by Julito
14:14
created

Gallery   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 24
rs 10
c 0
b 0
f 0
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A removeGalleryHasMedia() 0 2 1
A getId() 0 3 1
A addGalleryHasMedia() 0 2 1
1
<?php
2
/* For licensing terms, see /license.txt */
3
4
namespace Chamilo\MediaBundle\Entity;
5
6
use Sonata\MediaBundle\Entity\BaseGallery;
7
use Sonata\MediaBundle\Model\GalleryHasMediaInterface;
8
9
/**
10
 * Class Gallery.
11
 *
12
 * @package Chamilo\MediaBundle\Entity
13
 */
14
class Gallery extends BaseGallery
15
{
16
    /**
17
     * @var int
18
     */
19
    protected $id;
20
21
    /**
22
     * Get id.
23
     *
24
     * @return int $id
25
     */
26
    public function getId(): int
27
    {
28
        return $this->id;
29
    }
30
31
    public function addGalleryHasMedia(GalleryHasMediaInterface $galleryHasMedia)
32
    {
33
34
    }
35
36
    public function removeGalleryHasMedia(GalleryHasMediaInterface $galleryHasMedia)
37
    {
38
39
    }
40
}
41