Total Complexity | 9 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
3 | class Many implements \Maphper\Relation { |
||
4 | private $mapper; |
||
5 | private $parentField; |
||
6 | private $localField; |
||
7 | |||
8 | public function __construct(\Maphper\Maphper $mapper, $parentField, $localField, array $critiera = []) { |
||
9 | if ($critiera) $mapper->filter($critiera); |
||
10 | $this->mapper = $mapper; |
||
11 | $this->parentField = $parentField; |
||
12 | $this->localField = $localField; |
||
13 | } |
||
14 | |||
15 | |||
16 | public function getData($parentObject) { |
||
21 | } |
||
22 | |||
23 | |||
24 | public function overwrite($key, &$mapper) { |
||
30 | } |
||
31 | } |
||
34 | } |