public static function buildNormalRelation($user, $other)
    {
        $relation = static::buildRelation($user, $other);
        if (!$relation) {
            return null;
        }
        if ($relation->relationType == static::$relationMutual) {
            $relation->setMutualType(static::$mutualTypeNormal);
        }
        return $relation;
    }
public static function buildNormalRelation($user, $other)
    {
        $relation = static::buildRelation($user, $other);
        if (!$relation) {
            return null;
        }
        if ($relation->relationType == static::$relationMutual) {
            $relation->setMutualType(static::$mutualTypeNormal);
        }
        return $relation;
    }
public static function buildNormalRelation ( $ user , $ other ) { $ relation = static :: buildRelation ( $ user , $ other ) ; if ( ! $ relation ) { return null ; } if ( $ relation -> relationType == static :: $ relationMutual ) { $ relation -> setMutualType ( static :: $ mutualTypeNormal ) ; } return $ relation ; }
Build new or return existed normal relation.
The status of mutual relation will be changed to normal if it is not.
@see buildRelation()
@param BaseUserModel|string $user Initiator or its GUID.
@param BaseUserModel|string $other Recipient or its GUID.
@return static The relation will be
given if exists, or return a new relation.
Build new or return existed normal relation . The status of mutual relation will be changed to normal if it is not .