Completed
Push — master ( d773f4...3b2c4b )
by Oscar
04:15
created

RelationMany::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 6
rs 9.4285
cc 1
eloc 3
nc 1
nop 2
1
<?php
2
3
namespace Folk\Formats;
4
5
use FormManager\Fields;
6
use FormManager\Elements;
7
use FormManager\Builder;
8
use Folk\Entities\EntityInterface;
9
10
class RelationMany extends RelationOne
11
{
12
    public function __construct(Builder $builder, EntityInterface $related)
13
    {
14
        parent::__construct($builder, $related);
15
16
        $this->input->multiple();
17
    }
18
}
19