src/Connection/Aggregate/RedisCluster.php
public function removeById($connectionID)
    {
        if (isset($this->pool[$connectionID])) {
            unset(
                $this->pool[$connectionID],
                $this->slotsMap
            );

            return true;
        }

        return false;
    }
public function removeById($connectionID)
    {
        if (isset($this->pool[$connectionID])) {
            unset(
                $this->pool[$connectionID],
                $this->slotsMap
            );

            return true;
        }

        return false;
    }
public function removeById ( $ connectionID ) { if ( isset ( $ this -> pool [ $ connectionID ] ) ) { unset ( $ this -> pool [ $ connectionID ] , $ this -> slotsMap ) ; return true ; } return false ; }
Removes a connection instance by using its identifier.

@param string $connectionID Connection identifier.

@return bool True if the connection was in the pool.
Removes a connection instance by using its identifier .