private function removePrefix($decoratedIndexName)
    {
        if (0 === strpos($decoratedIndexName, $this->prefix . '_')) {
            $decoratedIndexName = substr($decoratedIndexName, strlen($this->prefix) + 1);

            return $decoratedIndexName;
        }

        return $decoratedIndexName;
    }
private function removePrefix($decoratedIndexName)
    {
        if (0 === strpos($decoratedIndexName, $this->prefix . '_')) {
            $decoratedIndexName = substr($decoratedIndexName, strlen($this->prefix) + 1);

            return $decoratedIndexName;
        }

        return $decoratedIndexName;
    }
private function removePrefix ( $ decoratedIndexName ) { if ( 0 === strpos ( $ decoratedIndexName , $ this -> prefix . '_' ) ) { $ decoratedIndexName = substr ( $ decoratedIndexName , strlen ( $ this -> prefix ) + 1 ) ; return $ decoratedIndexName ; } return $ decoratedIndexName ; }
Removes the prefix added by this decorator from the index name.

@param $decoratedIndexName

@return string
Removes the prefix added by this decorator from the index name .