Completed
Push — master ( 205ee7...22ecc2 )
by Marco
17s
created

DDC5934Member   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
c 0
b 0
f 0
lcom 0
cbo 1
dl 0
loc 14
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
namespace Doctrine\Tests\Models\DDC5934;
4
5
use Doctrine\Common\Collections\ArrayCollection;
6
use Doctrine\ORM\Mapping as ORM;
7
8
/**
9
 * @ORM\Entity()
10
 */
11
class DDC5934Member
12
{
13
    /**
14
     * @var ArrayCollection
15
     *
16
     * @ORM\ManyToMany(targetEntity="DDC5934BaseContract", mappedBy="members")
17
     */
18
    public $contracts;
19
20
    public function __construct()
21
    {
22
        $this->contracts = new ArrayCollection();
23
    }
24
}
25