Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
9 | public function __construct(Maphper $mapper, $lookup, array $primaryKey, MultiPk $parent = null) { |
||
10 | $this->parent = $parent; |
||
11 | $this->primaryKey = $primaryKey; |
||
12 | $this->lookup = $lookup; |
||
13 | $depth = $this->getDepth(); |
||
14 | $this->mapper = $mapper->filter([$primaryKey[$depth] => $lookup]); |
||
|
|||
15 | } |
||
55 |