User
extends Message
in package
Generated from protobuf message <code>php_bff.bff.User</code>
Table of Contents
Properties
- $lastname : mixed
- Generated from protobuf field <code>string lastname = 2 [json_name = "lastname"];</code>
- $name : mixed
- Generated from protobuf field <code>string name = 1 [json_name = "name"];</code>
Methods
- __construct() : mixed
- Constructor.
- getLastname() : string
- Generated from protobuf field <code>string lastname = 2 [json_name = "lastname"];</code>
- getName() : string
- Generated from protobuf field <code>string name = 1 [json_name = "name"];</code>
- setLastname() : $this
- Generated from protobuf field <code>string lastname = 2 [json_name = "lastname"];</code>
- setName() : $this
- Generated from protobuf field <code>string name = 1 [json_name = "name"];</code>
Properties
$lastname
Generated from protobuf field <code>string lastname = 2 [json_name = "lastname"];</code>
protected
mixed
$lastname
= ''
$name
Generated from protobuf field <code>string name = 1 [json_name = "name"];</code>
protected
mixed
$name
= ''
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 $name @type string $lastname}
getLastname()
Generated from protobuf field <code>string lastname = 2 [json_name = "lastname"];</code>
public
getLastname() : string
Return values
stringgetName()
Generated from protobuf field <code>string name = 1 [json_name = "name"];</code>
public
getName() : string
Return values
stringsetLastname()
Generated from protobuf field <code>string lastname = 2 [json_name = "lastname"];</code>
public
setLastname(string $var) : $this
Parameters
- $var : string
Return values
$thissetName()
Generated from protobuf field <code>string name = 1 [json_name = "name"];</code>
public
setName(string $var) : $this
Parameters
- $var : string