Manual:UserFactory.php

To get an instance of a UserFactory: