Predis\Cluster\SlotMap::offsetGet PHP Метод

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

Returns the node assigned to the specified slot.
public offsetGet ( integer $slot ) : string
$slot integer Slot index.
Результат string
    public function offsetGet($slot)
    {
        if (isset($this->slots[$slot])) {
            return $this->slots[$slot];
        }
    }