Predis\Connection\Cluster\PredisCluster::getConnectionBySlot PHP Метод

getConnectionBySlot() публичный Метод

Retrieves a connection instance by slot.
public getConnectionBySlot ( $slot ) : Predis\Connection\NodeConnectionInterface | null
Результат Predis\Connection\NodeConnectionInterface | null
    public function getConnectionBySlot($slot)
    {
        return $this->distributor->getBySlot($slot);
    }