REBELinBLUE\Deployer\Repositories\EloquentRepository::getById PHP Метод

getById() публичный Метод

Get's an item from the repository.
public getById ( integer $model_id ) : Model
$model_id integer
Результат Illuminate\Database\Eloquent\Model
    public function getById($model_id)
    {
        return $this->model->findOrFail($model_id);
    }