UserFactoryInterface
Interface defining a factory which can create User objects
since |
4.0.0 |
---|---|
package |
Joomla CMS |
Methods
loadUserById
Method to get an instance of a user for the given id.
loadUserById(int id) : \Joomla\CMS\User\User
since |
4.0.0 |
---|
Arguments
- id
int
The id
Response
\Joomla\CMS\User\User
loadUserByUsername
Method to get an instance of a user for the given username.
loadUserByUsername(string username) : \Joomla\CMS\User\User
since |
4.0.0 |
---|
Arguments
- username
string
The username
Response
\Joomla\CMS\User\User