src/Titon/Model/Relation/ManyToOne.php
public function unlink(Model $model) {
        $this->getUnlinked()->flush()->append($model);

        $this->getPrimaryModel()->set($this->getPrimaryForeignKey(), null);

        return $this;
    }
public function unlink(Model $model) {
        $this->getUnlinked()->flush()->append($model);

        $this->getPrimaryModel()->set($this->getPrimaryForeignKey(), null);

        return $this;
    }
public function unlink ( Model $ model ) { $ this -> getUnlinked ( ) -> flush ( ) -> append ( $ model ) ; $ this -> getPrimaryModel ( ) -> set ( $ this -> getPrimaryForeignKey ( ) , null ) ; return $ this ; }
Only one record at a time can be unlinked in a belongs to relation.
Also reset the foreign key attribute in the primary model.

@param \Titon\Model\Model $model
@return $this
Only one record at a time can be unlinked in a belongs to relation . Also reset the foreign key attribute in the primary model .