Skip to content

Commit

Permalink
Merge pull request #4530 from neos/task/deprecateUserUtility
Browse files Browse the repository at this point in the history
TASK: Deprecate legacy User Utility
  • Loading branch information
mhsdesign authored Sep 28, 2023
2 parents 81ff141 + f21b87e commit df94457
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Neos.Neos/Classes/Utility/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,15 @@

/**
* Utility functions for dealing with users in the Content Repository.
*
* @deprecated with Neos 9.0 please use the respective replacements instead.
*/
class User
{
/**
* Constructs a personal workspace name for the user with the given username.
*
* @deprecated with Neos 9.0 please use {@see WorkspaceNameBuilder::fromAccountIdentifier} instead.
* @param string $username
* @return string
*/
Expand All @@ -23,6 +26,7 @@ public static function getPersonalWorkspaceNameForUsername($username): string
/**
* Will reduce the username to ascii alphabet and numbers.
*
* @deprecated with Neos 9.0 please implement your own slug genration. You might also want to look into transliteration with {@see \Behat\Transliterator\Transliterator}.
* @param string $username
* @return string
*/
Expand Down

0 comments on commit df94457

Please sign in to comment.