public function unbind($name)
    {
        if (!isset($this->_relations[$name])) {
            return;
        }
        unset($this->_relations[$name]);
        unset($this->_relationships[$name]);
    }
public function unbind($name)
    {
        if (!isset($this->_relations[$name])) {
            return;
        }
        unset($this->_relations[$name]);
        unset($this->_relationships[$name]);
    }
public function unbind ( $ name ) { if ( ! isset ( $ this -> _relations [ $ name ] ) ) { return ; } unset ( $ this -> _relations [ $ name ] ) ; unset ( $ this -> _relationships [ $ name ] ) ; }
Unbinds a relation.

@param string $name The name of the relation to unbind.
Unbinds a relation .