public function render($row) { if (is_callable($this->customRender)) { return call_user_func_array($this->customRender, [$row, $this->customRenderVariables]); } $value = $this->getValue($row); return $this->formatValue($value); }