PHP Class Neos\Neos\Utility\User

Show file Open project: neos/neos-development-collection Class Usage Examples

Public Methods

Method Description
getPersonalWorkspaceNameForUsername ( string $username ) : string Constructs a personal workspace name for the user with the given username.
slugifyUsername ( string $username ) : string Will reduce the username to ascii alphabet and numbers.

Method Details

getPersonalWorkspaceNameForUsername() public static method

Constructs a personal workspace name for the user with the given username.
public static getPersonalWorkspaceNameForUsername ( string $username ) : string
$username string
return string

slugifyUsername() public static method

Will reduce the username to ascii alphabet and numbers.
public static slugifyUsername ( string $username ) : string
$username string
return string