src/GcpExtensionChannel.php
public function unbind($affinity_key)
    {
        $channel_ref = null;
        if (array_key_exists($affinity_key, $this->affinity_key_to_channel_ref)) {
            $channel_ref =  $this->affinity_key_to_channel_ref[$affinity_key];
            $channel_ref->affinityRefDecr();
        }
        unset($this->affinity_key_to_channel_ref[$affinity_key]);
        return $channel_ref;
    }
public function unbind($affinity_key)
    {
        $channel_ref = null;
        if (array_key_exists($affinity_key, $this->affinity_key_to_channel_ref)) {
            $channel_ref =  $this->affinity_key_to_channel_ref[$affinity_key];
            $channel_ref->affinityRefDecr();
        }
        unset($this->affinity_key_to_channel_ref[$affinity_key]);
        return $channel_ref;
    }
public function unbind ( $ affinity_key ) { $ channel_ref = null ; if ( array_key_exists ( $ affinity_key , $ this -> affinity_key_to_channel_ref ) ) { $ channel_ref = $ this -> affinity_key_to_channel_ref [ $ affinity_key ] ; $ channel_ref -> affinityRefDecr ( ) ; } unset ( $ this -> affinity_key_to_channel_ref [ $ affinity_key ] ) ; return $ channel_ref ; }
Unbind the affinity key. This is a private method.

@param string $affinity_key

@return ChannelRef
Unbind the affinity key . This is a private method .