library/Garp/Spawn/Relation/Set.php
protected function _addSingularRelation(
        array $relationSet, $relName, Garp_Spawn_Relation $relation
    ) {
        if ($relation->isSingular()) {
            $relationSet[$relName] = $relation;
        }

        return $relationSet;
    }
protected function _addSingularRelation(
        array $relationSet, $relName, Garp_Spawn_Relation $relation
    ) {
        if ($relation->isSingular()) {
            $relationSet[$relName] = $relation;
        }

        return $relationSet;
    }
protected function _addSingularRelation ( array $ relationSet , $ relName , Garp_Spawn_Relation $ relation ) { if ( $ relation -> isSingular ( ) ) { $ relationSet [ $ relName ] = $ relation ; } return $ relationSet ; }
Adds the relation to the relation set, if it's singular.

@param  array               $relationSet    The set to add the relation to
@param  string              $relName        The relation name
@param  Garp_Spawn_Relation $relation       The relation instance, plural or singular
@return array                               The relation set with the added singular relation
Adds the relation to the relation set if it s singular .