Passed
Push — master ( 5d9034...df3f73 )
by Petr
03:24
created

Band::addMember()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
rs 10
ccs 3
cts 3
cp 1
cc 1
eloc 2
nc 1
nop 1
crap 1
1
<?php
2
3
namespace AppBundle\Entity;
4
5
use AppBundle\Entity\Infrasctucture\Ambassador;
6
use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
7
use Doctrine\ORM\Mapping as ORM;
8
9
/**
10
 * Band
11
 * @ORM\Table(name="bands")
12
 * @ORM\Entity(repositoryClass="AppBundle\Entity\Repository\BandRepository")
13
 * @UniqueEntity("name", message="This name is already used. Parameter 'name' must be unique")
14
 */
15
class Band extends Ambassador
16
{
17
}
18