yii\sphinx\Schema::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 '(' or '{{', then this method will do nothing.
See also: quoteSimpleTableName
public quoteIndexName ( string $name ) : string
$name string index name
return string the properly quoted index name
    public function quoteIndexName($name)
    {
        if (strpos($name, '(') !== false || strpos($name, '{{') !== false) {
            return $name;
        }
        return $this->quoteSimpleIndexName($name);
    }