Predis\Cluster\SlotMap::getNodes PHP Method

getNodes() public method

Returns the list of unique nodes in the slot map.
public getNodes ( ) : array
return array
    public function getNodes()
    {
        return array_keys(array_flip($this->slots));
    }