Total Complexity | 4 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
15 | class HasBackReference implements MapsProperty |
||
16 | { |
||
17 | private $name; |
||
18 | |||
19 | protected function __construct(string $name) |
||
20 | { |
||
21 | $this->name = $name; |
||
22 | } |
||
23 | |||
24 | public static function inProperty(string $name) : MapsProperty |
||
27 | } |
||
28 | |||
29 | public function name() : string |
||
32 | } |
||
33 | |||
34 | /** @inheritdoc @return mixed|object */ |
||
35 | public function value(array $data, $owner = null) |
||
40 |