Customer   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
dl 0
loc 8
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A isACustomer() 0 3 1
1
<?php
2
3
namespace Matks\Bundle\CustomerSupportBundle\Entity;
4
5
use Doctrine\ORM\Mapping as ORM;
6
7
/**
8
 * Customer entity
9
 *
10
 * @ORM\Entity()
11
 *
12
 * @author Mathieu Ferment <[email protected]>
13
 */
14
class Customer extends User
15
{
16
    /**
17
     * @return bool
18
     */
19 1
    public function isACustomer()
20
    {
21 1
        return true;
22
    }
23
}
24