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