Eloquent\Dialect\Json::showJsonColumns PHP Method

showJsonColumns() public method

Allows you to specify if the actual JSON column housing the attributes should be shown on toArray() and toJson() calls. Set this value in the models constructor (to make sure it is set before newFromBuilder() is called). This is false by default.
public showJsonColumns ( boolean $show ) : boolean
$show boolean
return boolean
    public function showJsonColumns($show)
    {
        return $this->showJsonColumns = $show;
    }