public function getSymmetricalRelation()
    {
        $localMapping = [$this->getLeftColumns(), $this->getRightColumns()];
        foreach ($this->getRightTable()->getRelations() as $relation) {
            if ($localMapping == [$relation->getRightColumns(), $relation->getLeftColumns()]) {
                return $relation;
            }
        }
    }
public function getSymmetricalRelation()
    {
        $localMapping = [$this->getLeftColumns(), $this->getRightColumns()];
        foreach ($this->getRightTable()->getRelations() as $relation) {
            if ($localMapping == [$relation->getRightColumns(), $relation->getLeftColumns()]) {
                return $relation;
            }
        }
    }
public function getSymmetricalRelation ( ) { $ localMapping = [ $ this -> getLeftColumns ( ) , $ this -> getRightColumns ( ) ] ; foreach ( $ this -> getRightTable ( ) -> getRelations ( ) as $ relation ) { if ( $ localMapping == [ $ relation -> getRightColumns ( ) , $ relation -> getLeftColumns ( ) ] ) { return $ relation ; } } }
Gets the symmetrical relation

@return \Propel\Runtime\Map\RelationMap
Gets the symmetrical relation