UserFactory
Table of Contents
Methods
- clearCache() : void
- getInstance() : self
- getUserById() : User
- initUser() : User
Methods
clearCache()
public
clearCache(int $id) : void
Parameters
- $id : int
getInstance()
public
static getInstance() : self
Return values
selfgetUserById()
public
getUserById(int $id) : User
Parameters
- $id : int
Return values
UserinitUser()
public
initUser(array<string|int, mixed> $userData) : User
Parameters
- $userData : array<string|int, mixed>