Elastica\Cluster\Health\Index::getInitializingShards PHP Method

getInitializingShards() public method

Gets the number of initializing shards.
public getInitializingShards ( ) : integer
return integer
    public function getInitializingShards()
    {
        return $this->_data['initializing_shards'];
    }

Usage Example

 public function testGetInitializingShards()
 {
     $this->assertEquals(6, $this->_index->getInitializingShards());
 }