Menuapplicazione::hasNotifiche()   A
last analyzed

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
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
ccs 2
cts 2
cp 1
crap 1
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Cdf\BiCoreBundle\Entity;
4
5
use Doctrine\ORM\Mapping as ORM;
6
7
/**
8
 * Cdf\BiCoreBundle\Entity\Menuapplicazione.
9
 *
10
 * @ORM\Entity()
11
 */
12
class Menuapplicazione extends BaseMenuapplicazione
13
{
14 1
    public function isAttivo()
15
    {
16 1
        return $this->getAttivo();
17
    }
18
19 12
    public function isAutorizzazionerichiesta()
20
    {
21 12
        return $this->getAutorizzazionerichiesta();
22
    }
23
24 12
    public function hasNotifiche()
25
    {
26 12
        return $this->getNotifiche();
27
    }
28 1
    public function __toString()
29
    {
30 1
        return $this->getNome();
31
    }
32
}
33