Returns the underlying command hash strategy used to hash commands by
using keys found in their arguments.
public getClusterStrategy ( ) : Predis\Cluster\StrategyInterface | ||
return | Predis\Cluster\StrategyInterface |
/** * @group disconnected */ public function testExposesCommandHashStrategy() { $cluster = new PredisCluster(); $this->assertInstanceOf('Predis\\Cluster\\PredisStrategy', $cluster->getClusterStrategy()); }