Manual:UserFactory.php
MediaWiki file: UserFactory.php | |
---|---|
Location: | includes/user/ |
Source code: | master • 1.42.3 • 1.41.4 • 1.39.10 |
Classes: | MediaWiki\User\UserFactory |
To get an instance of a UserFactory:
$userFactory = MediaWiki\MediaWikiServices::getInstance()->getUserFactory();