Completed
Pull Request — 3.1 (#348)
by Piotr
06:19 queued 04:50
created

Contact::getKey()   A

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
declare(strict_types=1);
4
5
namespace FSi\FixturesBundle\CustomAdmin;
6
7
use FSi\Bundle\AdminBundle\Doctrine\Admin\ResourceElement;
8
use FSi\FixturesBundle\Entity;
9
10
class Contact extends ResourceElement
11
{
12
    public function getClassName(): string
13
    {
14
        return Entity\Resource::class;
15
    }
16
17
    public function getId(): string
18
    {
19
        return 'contact';
20
    }
21
22
    public function getKey(): string
23
    {
24
        return 'contact';
25
    }
26
}
27