Elastica\Cluster\Health::getClusterName PHP Метод

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

Gets the name of the cluster.
public getClusterName ( ) : string
Результат string
    public function getClusterName()
    {
        return $this->_data['cluster_name'];
    }

Usage Example

Пример #1
0
 /**
  * @group unit
  */
 public function testGetClusterName()
 {
     $this->assertEquals('test_cluster', $this->_health->getClusterName());
 }