UserReader
in package
FinalYes
Service.
Table of Contents
Properties
Methods
- __construct() : mixed
- The constructor.
- getUserCalendar() : mixed
- getUserData() : UserDataDoc
- Read a user.
- listHistoryAccess() : mixed
- trackUser() : mixed
- trackUserList() : mixed
Properties
$repository
private
UserRepository
$repository
Methods
__construct()
The constructor.
public
__construct(UserRepository $repository) : mixed
Parameters
- $repository : UserRepository
-
The repository
getUserCalendar()
public
getUserCalendar(int $user_id) : mixed
Parameters
- $user_id : int
getUserData()
Read a user.
public
getUserData(int $userId) : UserDataDoc
Parameters
- $userId : int
-
The user id
Return values
UserDataDoc —The user data
listHistoryAccess()
public
listHistoryAccess(mixed $uid) : mixed
Parameters
- $uid : mixed
trackUser()
public
trackUser(int $user_id, mixed $coord, mixed $addr) : mixed
Parameters
- $user_id : int
- $coord : mixed
- $addr : mixed
trackUserList()
public
trackUserList(int $user_id) : mixed
Parameters
- $user_id : int