Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
38 | public function toValue(Readable $file): ValueInterface |
||
39 | { |
||
40 | $result = []; |
||
41 | |||
42 | /** @var ArgumentValueNode $argument */ |
||
43 | foreach ($this->find('ArgumentValue', 1) as $argument) { |
||
44 | $result[$argument->getFullName()] = $argument->toValue($file); |
||
45 | } |
||
46 | |||
47 | return (new Value($result))->in($file, $this->getOffset()); |
||
48 | } |
||
49 | } |
||
50 |