Button
Table of Contents
Properties
-
$text
: string
-
$value
: string
Methods
-
create()
: self
-
getText()
: string
-
getValue()
: string
-
toArray()
: array<string|int, mixed>
-
value()
: self
-
__construct()
: mixed
$text
read-only
private
string
$text
$value
read-only
private
string
$value
create()
public
static create(string $text) : self
Parameters
-
$text
: string
-
getText()
public
getText() : string
getValue()
public
getValue() : string
toArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>
value()
public
value(string $value) : self
Parameters
-
$value
: string
-
__construct()
private
__construct(string $text, string $value) : mixed
Parameters
-
$text
: string
-
-
$value
: string
-