Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
Predis
Cluster
SlotMap
offsetGet
Predis\Cluster\SlotMap::offsetGet PHP Method
SlotMap Class Documentation
显示文件
Open project: nrk/predis
offsetGet()
public
method
Returns the node assigned to the specified slot.
public
offsetGet
(
integer
$slot
) :
string
$slot
integer
Slot index.
return
string
public function offsetGet($slot) { if (isset($this->slots[$slot])) { return $this->slots[$slot]; } }
SlotMap
count
getIterator
getNodes
getSlots
isEmpty
isValid
isValidRange
offsetExists
offsetGet
offsetSet
offsetUnset
reset
setSlots
toArray