GetRecipesHomeReply
extends Message
in package
Generated from protobuf message <code>php_bff.bff.GetRecipesHomeReply</code>
Table of Contents
Properties
- $daily : mixed
- Generated from protobuf field <code>.php_bff.bff.Recipe daily = 3;</code>
- $categories : mixed
- Generated from protobuf field <code>repeated .php_bff.bff.Category categories = 1;</code>
- $highlighted : mixed
- Generated from protobuf field <code>repeated .php_bff.bff.Recipe highlighted = 4;</code>
- $types : mixed
- Generated from protobuf field <code>repeated .php_bff.bff.Type types = 2;</code>
Methods
- __construct() : mixed
- Constructor.
- clearDaily() : mixed
- getCategories() : RepeatedField
- Generated from protobuf field <code>repeated .php_bff.bff.Category categories = 1;</code>
- getDaily() : Recipe|null
- Generated from protobuf field <code>.php_bff.bff.Recipe daily = 3;</code>
- getHighlighted() : RepeatedField
- Generated from protobuf field <code>repeated .php_bff.bff.Recipe highlighted = 4;</code>
- getTypes() : RepeatedField
- Generated from protobuf field <code>repeated .php_bff.bff.Type types = 2;</code>
- hasDaily() : mixed
- setCategories() : $this
- Generated from protobuf field <code>repeated .php_bff.bff.Category categories = 1;</code>
- setDaily() : $this
- Generated from protobuf field <code>.php_bff.bff.Recipe daily = 3;</code>
- setHighlighted() : $this
- Generated from protobuf field <code>repeated .php_bff.bff.Recipe highlighted = 4;</code>
- setTypes() : $this
- Generated from protobuf field <code>repeated .php_bff.bff.Type types = 2;</code>
Properties
$daily
Generated from protobuf field <code>.php_bff.bff.Recipe daily = 3;</code>
protected
mixed
$daily
= null
$categories
Generated from protobuf field <code>repeated .php_bff.bff.Category categories = 1;</code>
private
mixed
$categories
$highlighted
Generated from protobuf field <code>repeated .php_bff.bff.Recipe highlighted = 4;</code>
private
mixed
$highlighted
$types
Generated from protobuf field <code>repeated .php_bff.bff.Type types = 2;</code>
private
mixed
$types
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 \Php_bff\Bff\Category[]|\Google\Protobuf\Internal\RepeatedField $categories @type \Php_bff\Bff\Type[]|\Google\Protobuf\Internal\RepeatedField $types @type \Php_bff\Bff\Recipe $daily @type \Php_bff\Bff\Recipe[]|\Google\Protobuf\Internal\RepeatedField $highlighted}
clearDaily()
public
clearDaily() : mixed
getCategories()
Generated from protobuf field <code>repeated .php_bff.bff.Category categories = 1;</code>
public
getCategories() : RepeatedField
Return values
RepeatedFieldgetDaily()
Generated from protobuf field <code>.php_bff.bff.Recipe daily = 3;</code>
public
getDaily() : Recipe|null
Return values
Recipe|nullgetHighlighted()
Generated from protobuf field <code>repeated .php_bff.bff.Recipe highlighted = 4;</code>
public
getHighlighted() : RepeatedField
Return values
RepeatedFieldgetTypes()
Generated from protobuf field <code>repeated .php_bff.bff.Type types = 2;</code>
public
getTypes() : RepeatedField
Return values
RepeatedFieldhasDaily()
public
hasDaily() : mixed
setCategories()
Generated from protobuf field <code>repeated .php_bff.bff.Category categories = 1;</code>
public
setCategories(array<string|int, Category>|RepeatedField $var) : $this
Parameters
- $var : array<string|int, Category>|RepeatedField
Return values
$thissetDaily()
Generated from protobuf field <code>.php_bff.bff.Recipe daily = 3;</code>
public
setDaily(Recipe $var) : $this
Parameters
- $var : Recipe
Return values
$thissetHighlighted()
Generated from protobuf field <code>repeated .php_bff.bff.Recipe highlighted = 4;</code>
public
setHighlighted(array<string|int, Recipe>|RepeatedField $var) : $this
Parameters
- $var : array<string|int, Recipe>|RepeatedField
Return values
$thissetTypes()
Generated from protobuf field <code>repeated .php_bff.bff.Type types = 2;</code>
public
setTypes(array<string|int, Type>|RepeatedField $var) : $this
Parameters
- $var : array<string|int, Type>|RepeatedField