yii\sphinx\Connection::quoteIndexName PHP Method

quoteIndexName() public method

If the index name contains schema prefix, the prefix will also be properly quoted. If the index name is already quoted or contains special characters including '(', '[[' and '{{', then this method will do nothing.
public quoteIndexName ( string $name ) : string
$name string index name
return string the properly quoted index name
    public function quoteIndexName($name)
    {
        return $this->getSchema()->quoteIndexName($name);
    }