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];
        }
    }