| Conditions | 4 |
| Paths | 3 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 37 | public function rowValue($attribute, $template) |
||
| 38 | { |
||
| 39 | if (!empty($template)) { |
||
| 40 | if (!is_callable($template) && Arr::get($this->data, $template)) { |
||
| 41 | $this->data[$attribute] = Arr::get($this->data, $template); |
||
| 42 | } else { |
||
| 43 | $this->data[$attribute] = Helper::compileContent($template, $this->data, $this->row); |
||
| 44 | } |
||
| 45 | } |
||
| 46 | |||
| 47 | return $this; |
||
| 48 | } |
||
| 49 | |||
| 77 |