getModel() публичный статический Метод

Get the model instance being queried.
public static getModel ( ) : Model
Результат Illuminate\Database\Eloquent\Model
Пример #1
0
 function __construct($model)
 {
     $this->model = $model::select();
     $this->base_url = \URL::current();
     $this->form = new LaraForm('filter_' . $this->model->getModel()->getEntity(), 'get');
 }