Predis\Cluster\Distributor\DistributorInterface::add PHP Метод

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

Adds a node to the distributor with an optional weight.
public add ( mixed $node, integer $weight = null )
$node mixed Node object.
$weight integer Weight for the node.
    public function add($node, $weight = null);