Classes/ElasticSearchClient.php
public function getIndexName(): string
    {
        $name = trim($this->indexNameStrategy->get());
        if ($name === '') {
            throw new Exception('Index name can not be null');
        }

        return $name;
    }
public function getIndexName(): string
    {
        $name = trim($this->indexNameStrategy->get());
        if ($name === '') {
            throw new Exception('Index name can not be null');
        }

        return $name;
    }
public function getIndexName ( ) : string { $ name = trim ( $ this -> indexNameStrategy -> get ( ) ) ; if ( $ name === '' ) { throw new Exception ( 'Index name can not be null' ) ; } return $ name ; }
Get the index name to be used

@return string
@throws Exception
Get the index name to be used