bootdesk/chat-sdk

Button
in package

Table of Contents

Properties

$text  : string
$value  : string

Methods

create()  : self
getText()  : string
getValue()  : string
toArray()  : array<string|int, mixed>
value()  : self
__construct()  : mixed

Properties

$text read-only

private string $text

$value read-only

private string $value

Methods

create()

public static create(string $text) : self
Parameters
$text : string
Return values
self

getText()

public getText() : string
Return values
string

getValue()

public getValue() : string
Return values
string

toArray()

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

value()

public value(string $value) : self
Parameters
$value : string
Return values
self

__construct()

private __construct(string $text, string $value) : mixed
Parameters
$text : string
$value : string
On this page

Search results