protected function checkSolrSchemaName(SolrAdminService $solrAdminService)
    {
        try {
            $solrSchemaMessage = $solrAdminService->getSchema()->getName();
        } catch (\Exception $e) {
            $this->responseStatus = Status::ERROR;
            $solrSchemaMessage = 'Error determining schema name: ' . $e->getMessage();
        }

        return $solrSchemaMessage;
    }
protected function checkSolrSchemaName(SolrAdminService $solrAdminService)
    {
        try {
            $solrSchemaMessage = $solrAdminService->getSchema()->getName();
        } catch (\Exception $e) {
            $this->responseStatus = Status::ERROR;
            $solrSchemaMessage = 'Error determining schema name: ' . $e->getMessage();
        }

        return $solrSchemaMessage;
    }
protected function checkSolrSchemaName ( SolrAdminService $ solrAdminService ) { try { $ solrSchemaMessage = $ solrAdminService -> getSchema ( ) -> getName ( ) ; } catch ( \ Exception $ e ) { $ this -> responseStatus = Status :: ERROR ; $ solrSchemaMessage = 'Error determining schema name: ' . $ e -> getMessage ( ) ; } return $ solrSchemaMessage ; }
Checks the solr schema name and adds it to the report.

@param SolrAdminService $solrAdminService
@return string
Checks the solr schema name and adds it to the report .