public function setModel(Model $model, $capsule)
    {
        $this->_model = $model;
        $this->_capsule = $capsule;

        return $this;
    }
public function setModel(Model $model, $capsule)
    {
        $this->_model = $model;
        $this->_capsule = $capsule;

        return $this;
    }
public function setModel ( Model $ model , $ capsule ) { $ this -> _model = $ model ; $ this -> _capsule = $ capsule ; return $ this ; }
Sets the model instance for the Pagination class.

@param \Scara\Http\Model                  $model
@param \Illuminate\Database\Query\Builder $capsule

@return \Scara\Pagination\Pagination
Sets the model instance for the Pagination class .