public function __construct($column, $arguments = [])
{
$this->column = $column;
$this->label = $this->formatLabel($arguments);
$this->id = $this->formatId($column);
}
public function __construct($relation, $arguments = []) { $this->relationName = $relation; $this->builder = $arguments[1]; parent::__construct($relation, $arguments); }