Documentation

Recipe extends Message
in package

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

Table of Contents

Properties

$category  : mixed
Generated from protobuf field <code>.php_bff.bff.Category category = 6 [json_name = "category"];</code>
$code  : mixed
Generated from protobuf field <code>string code = 1 [json_name = "code"];</code>
$content  : mixed
Solo estará relleno en la peticion GetRecipe.
$difficulty  : mixed
Generated from protobuf field <code>string difficulty = 9 [json_name = "difficulty"];</code>
$image  : mixed
Generated from protobuf field <code>.php_bff.bff.Image image = 5 [json_name = "image"];</code>
$ingredients  : mixed
Solo estará relleno en la peticion GetRecipe.
$people  : mixed
Generated from protobuf field <code>int64 people = 8 [json_name = "people"];</code>
$slug  : mixed
Generated from protobuf field <code>string slug = 3 [json_name = "slug"];</code>
$title  : mixed
Generated from protobuf field <code>string title = 2 [json_name = "title"];</code>
$type  : mixed
Generated from protobuf field <code>.php_bff.bff.Type type = 7 [json_name = "type"];</code>
$user  : mixed
Generated from protobuf field <code>.php_bff.bff.User user = 4 [json_name = "user"];</code>

Methods

__construct()  : mixed
Constructor.
clearCategory()  : mixed
clearImage()  : mixed
clearType()  : mixed
clearUser()  : mixed
getCategory()  : Category|null
Generated from protobuf field <code>.php_bff.bff.Category category = 6 [json_name = "category"];</code>
getCode()  : string
Generated from protobuf field <code>string code = 1 [json_name = "code"];</code>
getContent()  : string
Solo estará relleno en la peticion GetRecipe.
getDifficulty()  : string
Generated from protobuf field <code>string difficulty = 9 [json_name = "difficulty"];</code>
getImage()  : Image|null
Generated from protobuf field <code>.php_bff.bff.Image image = 5 [json_name = "image"];</code>
getIngredients()  : string
Solo estará relleno en la peticion GetRecipe.
getPeople()  : int|string
Generated from protobuf field <code>int64 people = 8 [json_name = "people"];</code>
getSlug()  : string
Generated from protobuf field <code>string slug = 3 [json_name = "slug"];</code>
getTitle()  : string
Generated from protobuf field <code>string title = 2 [json_name = "title"];</code>
getType()  : Type|null
Generated from protobuf field <code>.php_bff.bff.Type type = 7 [json_name = "type"];</code>
getUser()  : User|null
Generated from protobuf field <code>.php_bff.bff.User user = 4 [json_name = "user"];</code>
hasCategory()  : mixed
hasImage()  : mixed
hasType()  : mixed
hasUser()  : mixed
setCategory()  : $this
Generated from protobuf field <code>.php_bff.bff.Category category = 6 [json_name = "category"];</code>
setCode()  : $this
Generated from protobuf field <code>string code = 1 [json_name = "code"];</code>
setContent()  : $this
Solo estará relleno en la peticion GetRecipe.
setDifficulty()  : $this
Generated from protobuf field <code>string difficulty = 9 [json_name = "difficulty"];</code>
setImage()  : $this
Generated from protobuf field <code>.php_bff.bff.Image image = 5 [json_name = "image"];</code>
setIngredients()  : $this
Solo estará relleno en la peticion GetRecipe.
setPeople()  : $this
Generated from protobuf field <code>int64 people = 8 [json_name = "people"];</code>
setSlug()  : $this
Generated from protobuf field <code>string slug = 3 [json_name = "slug"];</code>
setTitle()  : $this
Generated from protobuf field <code>string title = 2 [json_name = "title"];</code>
setType()  : $this
Generated from protobuf field <code>.php_bff.bff.Type type = 7 [json_name = "type"];</code>
setUser()  : $this
Generated from protobuf field <code>.php_bff.bff.User user = 4 [json_name = "user"];</code>

Properties

$category

Generated from protobuf field <code>.php_bff.bff.Category category = 6 [json_name = "category"];</code>

protected mixed $category = null

$code

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

protected mixed $code = ''

$content

Solo estará relleno en la peticion GetRecipe.

protected mixed $content = ''

Generated from protobuf field string content = 11 [json_name = "content"];

$difficulty

Generated from protobuf field <code>string difficulty = 9 [json_name = "difficulty"];</code>

protected mixed $difficulty = ''

$image

Generated from protobuf field <code>.php_bff.bff.Image image = 5 [json_name = "image"];</code>

protected mixed $image = null

$ingredients

Solo estará relleno en la peticion GetRecipe.

protected mixed $ingredients = ''

Generated from protobuf field string ingredients = 10 [json_name = "ingredients"];

$people

Generated from protobuf field <code>int64 people = 8 [json_name = "people"];</code>

protected mixed $people = 0

$slug

Generated from protobuf field <code>string slug = 3 [json_name = "slug"];</code>

protected mixed $slug = ''

$title

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

protected mixed $title = ''

$type

Generated from protobuf field <code>.php_bff.bff.Type type = 7 [json_name = "type"];</code>

protected mixed $type = null

$user

Generated from protobuf field <code>.php_bff.bff.User user = 4 [json_name = "user"];</code>

protected mixed $user = 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 $code
@type string $title
@type string $slug
@type \PhpBff\Bff\User $user
@type \PhpBff\Bff\Image $image
@type \PhpBff\Bff\Category $category
@type \PhpBff\Bff\Type $type
@type int|string $people
@type string $difficulty
@type string $ingredients
      Solo estará relleno en la peticion GetRecipe.
@type string $content
      Solo estará relleno en la peticion GetRecipe.

}

clearCategory()

public clearCategory() : mixed

clearImage()

public clearImage() : mixed

clearType()

public clearType() : mixed

clearUser()

public clearUser() : mixed

getCategory()

Generated from protobuf field <code>.php_bff.bff.Category category = 6 [json_name = "category"];</code>

public getCategory() : Category|null
Return values
Category|null

getCode()

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

public getCode() : string
Return values
string

getContent()

Solo estará relleno en la peticion GetRecipe.

public getContent() : string

Generated from protobuf field string content = 11 [json_name = "content"];

Return values
string

getDifficulty()

Generated from protobuf field <code>string difficulty = 9 [json_name = "difficulty"];</code>

public getDifficulty() : string
Return values
string

getImage()

Generated from protobuf field <code>.php_bff.bff.Image image = 5 [json_name = "image"];</code>

public getImage() : Image|null
Return values
Image|null

getIngredients()

Solo estará relleno en la peticion GetRecipe.

public getIngredients() : string

Generated from protobuf field string ingredients = 10 [json_name = "ingredients"];

Return values
string

getPeople()

Generated from protobuf field <code>int64 people = 8 [json_name = "people"];</code>

public getPeople() : int|string
Return values
int|string

getSlug()

Generated from protobuf field <code>string slug = 3 [json_name = "slug"];</code>

public getSlug() : string
Return values
string

getTitle()

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

public getTitle() : string
Return values
string

getType()

Generated from protobuf field <code>.php_bff.bff.Type type = 7 [json_name = "type"];</code>

public getType() : Type|null
Return values
Type|null

getUser()

Generated from protobuf field <code>.php_bff.bff.User user = 4 [json_name = "user"];</code>

public getUser() : User|null
Return values
User|null

hasCategory()

public hasCategory() : mixed

hasImage()

public hasImage() : mixed

hasType()

public hasType() : mixed

hasUser()

public hasUser() : mixed

setCategory()

Generated from protobuf field <code>.php_bff.bff.Category category = 6 [json_name = "category"];</code>

public setCategory(Category $var) : $this
Parameters
$var : Category
Return values
$this

setCode()

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

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

setContent()

Solo estará relleno en la peticion GetRecipe.

public setContent(string $var) : $this

Generated from protobuf field string content = 11 [json_name = "content"];

Parameters
$var : string
Return values
$this

setDifficulty()

Generated from protobuf field <code>string difficulty = 9 [json_name = "difficulty"];</code>

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

setImage()

Generated from protobuf field <code>.php_bff.bff.Image image = 5 [json_name = "image"];</code>

public setImage(Image $var) : $this
Parameters
$var : Image
Return values
$this

setIngredients()

Solo estará relleno en la peticion GetRecipe.

public setIngredients(string $var) : $this

Generated from protobuf field string ingredients = 10 [json_name = "ingredients"];

Parameters
$var : string
Return values
$this

setPeople()

Generated from protobuf field <code>int64 people = 8 [json_name = "people"];</code>

public setPeople(int|string $var) : $this
Parameters
$var : int|string
Return values
$this

setSlug()

Generated from protobuf field <code>string slug = 3 [json_name = "slug"];</code>

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

setTitle()

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

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

setType()

Generated from protobuf field <code>.php_bff.bff.Type type = 7 [json_name = "type"];</code>

public setType(Type $var) : $this
Parameters
$var : Type
Return values
$this

setUser()

Generated from protobuf field <code>.php_bff.bff.User user = 4 [json_name = "user"];</code>

public setUser(User $var) : $this
Parameters
$var : User
Return values
$this

        
On this page

Search results