eZ\Publish\Core\Persistence\Legacy\Content\UrlAlias\SlugConverter::getWordSeparator PHP Method

getWordSeparator() protected method

Returns word separator value.
protected getWordSeparator ( ) : string
return string
    protected function getWordSeparator()
    {
        switch ($this->configuration['wordSeparatorName']) {
            case 'dash':
                return '-';
            case 'underscore':
                return '_';
            case 'space':
                return ' ';
        }
        return '-';
    }