DeviceService
in package
Provides service to store user meta
Tags
Table of Contents
Properties
- $deviceModel : mixed
- $protocol_27 : mixed
Methods
- __construct() : mixed
- This method initializes the `User` object, retrieves the user's information, and ensures the user is valid.
- getDevices() : array<string|int, mixed>
- load_devices_stats() : mixed
Properties
$deviceModel
protected
mixed
$deviceModel
$protocol_27
protected
mixed
$protocol_27
Methods
__construct()
This method initializes the `User` object, retrieves the user's information, and ensures the user is valid.
public
__construct() : mixed
If the user is not valid, the process is halted with an error message.
It also initializes the appropriate user_meta
Tags
getDevices()
public
getDevices() : array<string|int, mixed>
Return values
array<string|int, mixed>load_devices_stats()
public
load_devices_stats(mixed &$devices) : mixed
Parameters
- $devices : mixed