Predis\Connection\Cluster\RedisCluster::move PHP Метод

move() защищенный Метод

The connection is added to the connections pool if not yet included.
protected move ( Predis\Connection\NodeConnectionInterface $connection, integer $slot )
$connection Predis\Connection\NodeConnectionInterface Connection instance.
$slot integer Target slot index.
    protected function move(NodeConnectionInterface $connection, $slot)
    {
        $this->pool[(string) $connection] = $connection;
        $this->slots[(int) $slot] = $connection;
        $this->slotmap[(int) $slot] = $connection;
    }