Property | Type | Description | |
---|---|---|---|
$configuration | |||
$transformationProcessor | Transformation processor to normalize URL strings. |
Method | Description | |
---|---|---|
__construct ( |
Creates a new URL slug converter. | |
convert ( string $text, string $defaultText = '_1', string | null $transformation = null ) : string | Converts given $text into a URL slug consisting of URL valid characters. | |
getUniqueCounterValue ( string $text, boolean $isRootLevel = true ) : integer | Returns unique counter number that is appended to the path element in order to make it unique against system reserved names and other entries on the same level. |
Method | Description | |
---|---|---|
cleanupText ( string $text, string $method ) : string | Cleans up $text using given $method. | |
getWordSeparator ( ) : string | Returns word separator value. |
public __construct ( |
||
$transformationProcessor | ||
$configuration | array |
protected getWordSeparator ( ) : string | ||
return | string |