src/Connection/Aggregate/PredisCluster.php
public function removeById($connectionID)
    {
        if ($connection = $this->getConnectionById($connectionID)) {
            return $this->remove($connection);
        }

        return false;
    }
public function removeById($connectionID)
    {
        if ($connection = $this->getConnectionById($connectionID)) {
            return $this->remove($connection);
        }

        return false;
    }
public function removeById ( $ connectionID ) { if ( $ connection = $ this -> getConnectionById ( $ connectionID ) ) { return $ this -> remove ( $ connection ) ; } return false ; }
Removes a connection instance using its alias or index.

@param string $connectionID Alias or index of a connection.

@return bool Returns true if the connection was in the pool.
Removes a connection instance using its alias or index .