Get the model instance being queried.
public static getModel ( ) : |
||
return |
function __construct($model) { $this->model = $model::select(); $this->base_url = \URL::current(); $this->form = new LaraForm('filter_' . $this->model->getModel()->getEntity(), 'get'); }