public static function removePunctuationSymbols($words, $glue = ' ')
    {
        if (is_array($words)) {
            $words = implode($glue, $words);
        }

        return trim(str_replace(static::$punctuationSymbols, '', $words));
    }
public static function removePunctuationSymbols($words, $glue = ' ')
    {
        if (is_array($words)) {
            $words = implode($glue, $words);
        }

        return trim(str_replace(static::$punctuationSymbols, '', $words));
    }
public static function removePunctuationSymbols ( $ words , $ glue = ' ' ) { if ( is_array ( $ words ) ) { $ words = implode ( $ glue , $ words ) ; } return trim ( str_replace ( static :: $ punctuationSymbols , '' , $ words ) ) ; }
Remove punctuation symbols from string

@param $words
@param string $glue

@return mixed
Remove punctuation symbols from string