getModel() public static méthode

Get the model instance being queried.
public static getModel ( ) : Model
Résultat Illuminate\Database\Eloquent\Model
Exemple #1
0
 function __construct($model)
 {
     $this->model = $model::select();
     $this->base_url = \URL::current();
     $this->form = new LaraForm('filter_' . $this->model->getModel()->getEntity(), 'get');
 }