Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
34 | public function value(array $data, $owner = null) |
||
35 | { |
||
36 | try { |
||
37 | return $this->proxyFactory->create([ |
||
38 | 'owner' => $owner, |
||
39 | 'property' => $this->name |
||
40 | ]); |
||
41 | } catch (Throwable $exception) { |
||
42 | throw ProxyMappingFailure::encountered($this, $exception); |
||
43 | } |
||
46 |