src/SlugGenerator.php
private function removeIgnored(string $text, string $ignore): string
	{
		if ($ignore === '') {
			return $text;
		}

		return preg_replace('(['.$ignore.'])us', '', $text);
	}
private function removeIgnored(string $text, string $ignore): string
	{
		if ($ignore === '') {
			return $text;
		}

		return preg_replace('(['.$ignore.'])us', '', $text);
	}
private function removeIgnored ( string $ text , string $ ignore ) : string { if ( $ ignore === '' ) { return $ text ; } return preg_replace ( '([' . $ ignore . '])us' , '' , $ text ) ; }
Remove ignored characters from text.

@param string $text
@param string $ignore

@return string
Remove ignored characters from text .