ReviewText
in package
Class ReviewText
Table of Contents
- $code : string
- $text : string
- code() : string
- create() : ReviewText
- text() : string
- toArray() : array<string|int, mixed>
- __construct() : mixed
Properties
$code
private
string
$code
$text
private
string
$text
Methods
code()
public
code() : string
Return values
string —create()
public
static create(string $code, string $text) : ReviewText
Parameters
- $code : string
- $text : string
Return values
ReviewText —text()
public
text() : string
Return values
string —toArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed> —__construct()
private
__construct(string $code, string $text) : mixed
Parameters
- $code : string
- $text : string