Product
extends Base
Table of Contents
Methods
-
__construct()
: mixed
-
getDesktopUrl()
: string|null
-
getId()
: string
-
getPayload()
: array<string|int, mixed>
-
getSelectable()
: bool
-
getTitle()
: string
-
getType()
: string
-
jsonSerialize()
: array<string|int, mixed>
-
setDesktopUrl()
: self
-
setPayload()
: self
-
setSelectable()
: self
-
setTitle()
: self
__construct()
public
__construct(string $id[, string $title = null ]) : mixed
Parameters
-
$id
: string
-
-
$title
: string
= null
-
getDesktopUrl()
public
getDesktopUrl() : string|null
Return values
string|null
getId()
public
getId() : string
getPayload()
public
getPayload() : array<string|int, mixed>
Return values
array<string|int, mixed>
getSelectable()
public
getSelectable() : bool
getTitle()
public
getTitle() : string
getType()
public
getType() : string
jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>
setDesktopUrl()
public
setDesktopUrl(string|null $url) : self
Parameters
-
$url
: string|null
-
setPayload()
public
setPayload(array<string|int, mixed> $payload) : self
Parameters
-
$payload
: array<string|int, mixed>
-
setSelectable()
public
setSelectable(bool $selectable) : self
Parameters
-
$selectable
: bool
-
setTitle()
public
setTitle(string|null $title) : self
Parameters
-
$title
: string|null
-