MenuLink
extends Message
in package
Generated from protobuf message <code>website.app.sections.MenuLink</code>
Table of Contents
Properties
- $label : mixed
- Generated from protobuf field <code>string label = 1 [json_name = "label"];</code>
- $url : mixed
- Generated from protobuf field <code>string url = 2 [json_name = "url"];</code>
Methods
- __construct() : mixed
- Constructor.
- getLabel() : string
- Generated from protobuf field <code>string label = 1 [json_name = "label"];</code>
- getUrl() : string
- Generated from protobuf field <code>string url = 2 [json_name = "url"];</code>
- setLabel() : $this
- Generated from protobuf field <code>string label = 1 [json_name = "label"];</code>
- setUrl() : $this
- Generated from protobuf field <code>string url = 2 [json_name = "url"];</code>
Properties
$label
Generated from protobuf field <code>string label = 1 [json_name = "label"];</code>
protected
mixed
$label
= ''
$url
Generated from protobuf field <code>string url = 2 [json_name = "url"];</code>
protected
mixed
$url
= ''
Methods
__construct()
Constructor.
public
__construct([array<string|int, mixed> $data = NULL ]) : mixed
Parameters
- $data : array<string|int, mixed> = NULL
-
{ Optional. Data for populating the Message object.
@type string $label @type string $url}
getLabel()
Generated from protobuf field <code>string label = 1 [json_name = "label"];</code>
public
getLabel() : string
Return values
stringgetUrl()
Generated from protobuf field <code>string url = 2 [json_name = "url"];</code>
public
getUrl() : string
Return values
stringsetLabel()
Generated from protobuf field <code>string label = 1 [json_name = "label"];</code>
public
setLabel(string $var) : $this
Parameters
- $var : string
Return values
$thissetUrl()
Generated from protobuf field <code>string url = 2 [json_name = "url"];</code>
public
setUrl(string $var) : $this
Parameters
- $var : string