FOF30\Model\DataModel\RelationManager::removeRelation PHP Method

removeRelation() public method

Removes a known relation
public removeRelation ( string $name ) : DataModel
$name string The name of the relation to remove
return FOF30\Model\DataModel The parent model, for chaining
    public function removeRelation($name)
    {
        if (isset($this->relations[$name])) {
            unset($this->relations[$name]);
        }
        return $this->parentModel;
    }