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