getModel() 공개 정적인 메소드

Get the model instance being queried.
public static getModel ( ) : Model
리턴 Illuminate\Database\Eloquent\Model
예제 #1
0
파일: FormFilter.php 프로젝트: larakit/lk
 function __construct($model)
 {
     $this->model = $model::select();
     $this->base_url = \URL::current();
     $this->form = new LaraForm('filter_' . $this->model->getModel()->getEntity(), 'get');
 }