Documentation

Spotlight extends Message
in package

Generated from protobuf message <code>website.app.sections.Spotlight</code>

Table of Contents

Properties

$title  : mixed
Generated from protobuf field <code>string title = 1 [json_name = "title"];</code>
$news  : mixed
Generated from protobuf field <code>repeated .website.app.models.News news = 2 [json_name = "news"];</code>

Methods

__construct()  : mixed
Constructor.
getNews()  : RepeatedField
Generated from protobuf field <code>repeated .website.app.models.News news = 2 [json_name = "news"];</code>
getTitle()  : string
Generated from protobuf field <code>string title = 1 [json_name = "title"];</code>
setNews()  : $this
Generated from protobuf field <code>repeated .website.app.models.News news = 2 [json_name = "news"];</code>
setTitle()  : $this
Generated from protobuf field <code>string title = 1 [json_name = "title"];</code>

Properties

$title

Generated from protobuf field <code>string title = 1 [json_name = "title"];</code>

protected mixed $title = ''

$news

Generated from protobuf field <code>repeated .website.app.models.News news = 2 [json_name = "news"];</code>

private mixed $news

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 $title
@type array<\Website\App\Models\News>|\Google\Protobuf\Internal\RepeatedField $news

}

getNews()

Generated from protobuf field <code>repeated .website.app.models.News news = 2 [json_name = "news"];</code>

public getNews() : RepeatedField
Return values
RepeatedField

getTitle()

Generated from protobuf field <code>string title = 1 [json_name = "title"];</code>

public getTitle() : string
Return values
string

setNews()

Generated from protobuf field <code>repeated .website.app.models.News news = 2 [json_name = "news"];</code>

public setNews(array<string|int, News>|RepeatedField $var) : $this
Parameters
$var : array<string|int, News>|RepeatedField
Return values
$this

setTitle()

Generated from protobuf field <code>string title = 1 [json_name = "title"];</code>

public setTitle(string $var) : $this
Parameters
$var : string
Return values
$this

        
On this page

Search results