OtpType
extends
JsonSerializable
in
Interface of an OTP Type Definition
Table of Contents
- fromJson() : self
- Construct from a JSON string with parameters
- fromParams() : void
- Construct from a plain object with parameters
- name() : string
- A human readable name
Methods
fromJson()
Construct from a JSON string with parameters
public
static fromJson(string $json) : self
Parameters
- $json : string
Return values
self —fromParams()
Construct from a plain object with parameters
public
static fromParams(object $params) : void
Parameters
- $params : object
Return values
void —name()
A human readable name
public
static name() : string