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