src/Titon/Model/Model.php
public function link(Model $model) {
        $this->getRelation($this->getAlias(get_class($model)))->link($model);

        return $this;
    }
public function link(Model $model) {
        $this->getRelation($this->getAlias(get_class($model)))->link($model);

        return $this;
    }
public function link ( Model $ model ) { $ this -> getRelation ( $ this -> getAlias ( get_class ( $ model ) ) ) -> link ( $ model ) ; return $ this ; }
Link an external model to the primary model. Once the primary is saved, the links will be saved as well.

@param \Titon\Model\Model $model
@return $this
@throws \Titon\Model\Exception\MissingRelationException
Link an external model to the primary model . Once the primary is saved the links will be saved as well .