Cover
extends Message
in package
Generated from protobuf message <code>website.app.models.Cover</code>
Table of Contents
Properties
- $author : mixed
- Generated from protobuf field <code>string author = 3 [json_name = "author"];</code>
- $caption : mixed
- Generated from protobuf field <code>string caption = 2 [json_name = "caption"];</code>
- $url : mixed
- Generated from protobuf field <code>string url = 1 [json_name = "url"];</code>
Methods
- __construct() : mixed
- Constructor.
- getAuthor() : string
- Generated from protobuf field <code>string author = 3 [json_name = "author"];</code>
- getCaption() : string
- Generated from protobuf field <code>string caption = 2 [json_name = "caption"];</code>
- getUrl() : string
- Generated from protobuf field <code>string url = 1 [json_name = "url"];</code>
- setAuthor() : $this
- Generated from protobuf field <code>string author = 3 [json_name = "author"];</code>
- setCaption() : $this
- Generated from protobuf field <code>string caption = 2 [json_name = "caption"];</code>
- setUrl() : $this
- Generated from protobuf field <code>string url = 1 [json_name = "url"];</code>
Properties
$author
Generated from protobuf field <code>string author = 3 [json_name = "author"];</code>
protected
mixed
$author
= ''
$caption
Generated from protobuf field <code>string caption = 2 [json_name = "caption"];</code>
protected
mixed
$caption
= ''
$url
Generated from protobuf field <code>string url = 1 [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 $url @type string $caption @type string $author}
getAuthor()
Generated from protobuf field <code>string author = 3 [json_name = "author"];</code>
public
getAuthor() : string
Return values
stringgetCaption()
Generated from protobuf field <code>string caption = 2 [json_name = "caption"];</code>
public
getCaption() : string
Return values
stringgetUrl()
Generated from protobuf field <code>string url = 1 [json_name = "url"];</code>
public
getUrl() : string
Return values
stringsetAuthor()
Generated from protobuf field <code>string author = 3 [json_name = "author"];</code>
public
setAuthor(string $var) : $this
Parameters
- $var : string
Return values
$thissetCaption()
Generated from protobuf field <code>string caption = 2 [json_name = "caption"];</code>
public
setCaption(string $var) : $this
Parameters
- $var : string
Return values
$thissetUrl()
Generated from protobuf field <code>string url = 1 [json_name = "url"];</code>
public
setUrl(string $var) : $this
Parameters
- $var : string