/** * @param Request $request * @param $name * @param $label * @param $className * @throws \Sygmaa\Grids\Exceptions\FieldLabelMustBeStringException * @throws \Sygmaa\Grids\Exceptions\FieldNameMustBeStringException */ public function __construct(Request $request, $name, $label, $modelName) { parent::__construct($request, $name, $label); $explode = explode('.', $name); $this->relation = $explode[0]; $this->name = $explode[1]; $this->modelName = $modelName; }
public function __construct(Request $request, $name, $label, $callback) { parent::__construct($request, $name, $label); $this->callback = $callback; }
public function __construct(Request $request, $name, $label) { parent::__construct($request, $name, $label); }
public function __construct(Request $request, $name, $label, $formatting) { parent::__construct($request, $name, $label); $this->formatting = $formatting; }