public function setRelatedModel(Model $model) {
        $this->_relatedModel = $model;
        $this->setRelatedClass(get_class($model));

        return $this;
    }
public function setRelatedModel(Model $model) {
        $this->_relatedModel = $model;
        $this->setRelatedClass(get_class($model));

        return $this;
    }
public function setRelatedModel ( Model $ model ) { $ this -> _relatedModel = $ model ; $ this -> setRelatedClass ( get_class ( $ model ) ) ; return $ this ; }
Set the related model object.

@param \Titon\Model\Model $model
@return $this
Set the related model object .