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

Returns the underlying command hash strategy used to hash commands by using keys found in their arguments.
public getClusterStrategy ( ) : Predis\Cluster\StrategyInterface
Результат Predis\Cluster\StrategyInterface
 /**
  * @group disconnected
  */
 public function testAcceptsCustomClusterStrategy()
 {
     $strategy = $this->getMock('Predis\\Cluster\\StrategyInterface');
     $cluster = new RedisCluster(new Connection\Factory(), $strategy);
     $this->assertSame($strategy, $cluster->getClusterStrategy());
 }