Completed
Push — 4.1 ( 2ae6e4...1d93ff )
by Andrea
13:18
created

Menuapplicazione::isAttivo()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 1
1
<?php
2
namespace Fi\CoreBundle\Entity;
3
4
use Doctrine\ORM\Mapping as ORM;
5
use Fi\CoreBundle\Entity\BaseMenuapplicazione;
6
7
/**
8
 * Fi\CoreBundle\Entity\Menuapplicazione
9
 *
10
 * @ORM\Entity(repositoryClass="Fi\CoreBundle\Repository\MenuapplicazioneRepository")
11
 */
12
class Menuapplicazione extends BaseMenuapplicazione
13
{
14 1
    public function isAttivo()
15
    {
16 1
        return $this->getAttivo();
17
    }
18 8
    public function isAutorizzazionerichiesta()
19
    {
20 8
        return $this->getAutorizzazionerichiesta();
21
    }
22 8
    public function hasNotifiche()
23
    {
24 8
        return $this->getNotifiche();
25
    }
26
}
27