public static function buildSuspendRelation($user, $other)
    {
        $relation = static::buildRelation($user, $other);
        if (!$relation || $relation->relationType != static::$relationMutual) {
            return null;
        }
        $relation->setMutualType(static::$mutualTypeSuspend);
        return $relation;
    }
public static function buildSuspendRelation($user, $other)
    {
        $relation = static::buildRelation($user, $other);
        if (!$relation || $relation->relationType != static::$relationMutual) {
            return null;
        }
        $relation->setMutualType(static::$mutualTypeSuspend);
        return $relation;
    }
public static function buildSuspendRelation ( $ user , $ other ) { $ relation = static :: buildRelation ( $ user , $ other ) ; if ( ! $ relation || $ relation -> relationType != static :: $ relationMutual ) { return null ; } $ relation -> setMutualType ( static :: $ mutualTypeSuspend ) ; return $ relation ; }
Build new or return existed suspend mutual relation, or return null if
current type is not mutual.
@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 suspend mutual relation or return null if current type is not mutual .