Completed
Pull Request — master (#304)
by Piotr
07:03
created

HomePage   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 3
lcom 0
cbo 1
dl 0
loc 17
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace FSi\FixturesBundle\Admin\Structure;
4
5
use FSi\Bundle\AdminBundle\Doctrine\Admin\ResourceElement;
6
use FSi\Bundle\AdminBundle\Annotation as Admin;
7
8
/**
9
 * @Admin\Element
10
 */
11
class HomePage extends ResourceElement
12
{
13
    public function getId()
14
    {
15
        return 'home_page';
16
    }
17
18
    public function getKey()
19
    {
20
        return 'resources.homepage';
21
    }
22
23
    public function getClassName()
24
    {
25
        return 'FSi\FixturesBundle\Entity\Resource';
26
    }
27
}
28