User
extends Message
in package
Generated from protobuf message <code>letters.letters.User</code>
Table of Contents
Properties
- $email : mixed
- Generated from protobuf field <code>string email = 4;</code>
- $firstname : mixed
- Generated from protobuf field <code>string firstname = 2;</code>
- $lastname : mixed
- Generated from protobuf field <code>string lastname = 3;</code>
- $name : mixed
- Generated from protobuf field <code>string name = 1;</code>
Methods
- __construct() : mixed
- Constructor.
- getEmail() : string
- Generated from protobuf field <code>string email = 4;</code>
- getFirstname() : string
- Generated from protobuf field <code>string firstname = 2;</code>
- getLastname() : string
- Generated from protobuf field <code>string lastname = 3;</code>
- getName() : string
- Generated from protobuf field <code>string name = 1;</code>
- setEmail() : $this
- Generated from protobuf field <code>string email = 4;</code>
- setFirstname() : $this
- Generated from protobuf field <code>string firstname = 2;</code>
- setLastname() : $this
- Generated from protobuf field <code>string lastname = 3;</code>
- setName() : $this
- Generated from protobuf field <code>string name = 1;</code>
Properties
Generated from protobuf field <code>string email = 4;</code>
protected
mixed
$email
= ''
$firstname
Generated from protobuf field <code>string firstname = 2;</code>
protected
mixed
$firstname
= ''
$lastname
Generated from protobuf field <code>string lastname = 3;</code>
protected
mixed
$lastname
= ''
$name
Generated from protobuf field <code>string name = 1;</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 $firstname @type string $lastname @type string $email}
getEmail()
Generated from protobuf field <code>string email = 4;</code>
public
getEmail() : string
Return values
stringgetFirstname()
Generated from protobuf field <code>string firstname = 2;</code>
public
getFirstname() : string
Return values
stringgetLastname()
Generated from protobuf field <code>string lastname = 3;</code>
public
getLastname() : string
Return values
stringgetName()
Generated from protobuf field <code>string name = 1;</code>
public
getName() : string
Return values
stringsetEmail()
Generated from protobuf field <code>string email = 4;</code>
public
setEmail(string $var) : $this
Parameters
- $var : string
Return values
$thissetFirstname()
Generated from protobuf field <code>string firstname = 2;</code>
public
setFirstname(string $var) : $this
Parameters
- $var : string
Return values
$thissetLastname()
Generated from protobuf field <code>string lastname = 3;</code>
public
setLastname(string $var) : $this
Parameters
- $var : string
Return values
$thissetName()
Generated from protobuf field <code>string name = 1;</code>
public
setName(string $var) : $this
Parameters
- $var : string