protected function output($value)
    {
        if ($value instanceof Renderable) {
            $value = $value->render();
        }

        if ($value instanceof Htmlable) {
            $value = $value->toHtml();
        }

        if ($value instanceof Jsonable) {
            $value = $value->toJson();
        }

        if (!is_null($value) && !is_scalar($value)) {
            return sprintf('<pre>%s</pre>', var_export($value, true));
        }

        return $value;
    }
protected function output($value)
    {
        if ($value instanceof Renderable) {
            $value = $value->render();
        }

        if ($value instanceof Htmlable) {
            $value = $value->toHtml();
        }

        if ($value instanceof Jsonable) {
            $value = $value->toJson();
        }

        if (!is_null($value) && !is_scalar($value)) {
            return sprintf('<pre>%s</pre>', var_export($value, true));
        }

        return $value;
    }
protected function output ( $ value ) { if ( $ value instanceof Renderable ) { $ value = $ value -> render ( ) ; } if ( $ value instanceof Htmlable ) { $ value = $ value -> toHtml ( ) ; } if ( $ value instanceof Jsonable ) { $ value = $ value -> toJson ( ) ; } if ( ! is_null ( $ value ) && ! is_scalar ( $ value ) ) { return sprintf ( '<pre>%s</pre>' , var_export ( $ value , true ) ) ; } return $ value ; }
Output column value.

@param mixed $value

@return mixed|string
Output column value .