Conditions | 3 |
Paths | 2 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
17 | protected function parseValue($value): string |
||
18 | { |
||
19 | $nesting_level = $this->templateKey ?: $this->getNestingLevel(); |
||
20 | |||
21 | return trans( |
||
22 | $this->getTemplatePath( |
||
23 | get_class($this->model). |
||
24 | ($nesting_level ? '.'.$nesting_level : '') |
||
25 | ), |
||
26 | $this->parseAttributesWithKeys($value) |
||
27 | ); |
||
28 | } |
||
29 | |||
42 |