TelemetryData
in package
Uses
UtilsProvider
Handle Real Product Manager API calls.
Table of Contents
Constants
- ENDPOINT_TELEMETRY = '1.0.0/telemetry'
Properties
Methods
- getLicense() : mixed
- Get plugin update instance.
- getPluginConstantPrefix() : string
- Get the prefix of this package so we can utils package natively.
- instance() : mixed
- New instance.
- put() : mixed
- `PUT` to the REST API of Real Product Manager.
- setupConstants() : mixed
- Make sure the RPM_WP_CLIENT constants are available.
- __construct() : mixed
- C'tor.
Constants
ENDPOINT_TELEMETRY
public
mixed
ENDPOINT_TELEMETRY
= '1.0.0/telemetry'
Properties
$license
License instance.
private
License
$license
Methods
getLicense()
Get plugin update instance.
public
getLicense() : mixed
Tags
getPluginConstantPrefix()
Get the prefix of this package so we can utils package natively.
public
getPluginConstantPrefix() : string
Return values
stringinstance()
New instance.
public
static instance(License $license) : mixed
Parameters
- $license : License
Tags
put()
`PUT` to the REST API of Real Product Manager.
public
put() : mixed
setupConstants()
Make sure the RPM_WP_CLIENT constants are available.
public
static setupConstants() : mixed
__construct()
C'tor.
private
__construct(License $license) : mixed
Parameters
- $license : License