Completed
Pull Request — master (#5938)
by Maximilian
16:49 queued 08:43
created

DDC5934Member::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
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\ManyToOne(targetEntity="DDC5934BaseContract", inversedBy="members")
17
     */
18
    public $contract;
19
20
    public function __construct()
21
    {
22
        $this->contract = new ArrayCollection();
23
    }
24
}
25