Documentation

CreateRecipeRequest extends Message
in package

Generated from protobuf message <code>php_bff.bff.CreateRecipeRequest</code>

Table of Contents

Properties

$auth_token  : mixed
Generated from protobuf field <code>string auth_token = 1;</code>
$recipe  : mixed
Generated from protobuf field <code>.recipes.recipes.Recipe recipe = 2;</code>

Methods

__construct()  : mixed
Constructor.
clearRecipe()  : mixed
getAuthToken()  : string
Generated from protobuf field <code>string auth_token = 1;</code>
getRecipe()  : Recipe|null
Generated from protobuf field <code>.recipes.recipes.Recipe recipe = 2;</code>
hasRecipe()  : mixed
setAuthToken()  : $this
Generated from protobuf field <code>string auth_token = 1;</code>
setRecipe()  : $this
Generated from protobuf field <code>.recipes.recipes.Recipe recipe = 2;</code>

Properties

$auth_token

Generated from protobuf field <code>string auth_token = 1;</code>

protected mixed $auth_token = ''

$recipe

Generated from protobuf field <code>.recipes.recipes.Recipe recipe = 2;</code>

protected mixed $recipe = null

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 $auth_token
@type \Recipes\Recipes\Recipe $recipe

}

getAuthToken()

Generated from protobuf field <code>string auth_token = 1;</code>

public getAuthToken() : string
Return values
string

getRecipe()

Generated from protobuf field <code>.recipes.recipes.Recipe recipe = 2;</code>

public getRecipe() : Recipe|null
Return values
Recipe|null

setAuthToken()

Generated from protobuf field <code>string auth_token = 1;</code>

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

setRecipe()

Generated from protobuf field <code>.recipes.recipes.Recipe recipe = 2;</code>

public setRecipe(Recipe $var) : $this
Parameters
$var : Recipe
Return values
$this

        
On this page

Search results