Documentation

Letter extends Message
in package

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

Table of Contents

Properties

$code  : mixed
Generated from protobuf field <code>string code = 1 [json_name = "code"];</code>
$content  : mixed
Generated from protobuf field <code>string content = 3 [json_name = "content"];</code>
$create_time  : mixed
Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 5 [json_name = "createTime"];</code>
$slug  : mixed
Generated from protobuf field <code>string slug = 7 [json_name = "slug"];</code>
$title  : mixed
Generated from protobuf field <code>string title = 2 [json_name = "title"];</code>
$user  : mixed
Generated from protobuf field <code>.php_bff.bff.User user = 6 [json_name = "user"];</code>

Methods

__construct()  : mixed
Constructor.
clearCreateTime()  : mixed
clearUser()  : mixed
getCode()  : string
Generated from protobuf field <code>string code = 1 [json_name = "code"];</code>
getContent()  : string
Generated from protobuf field <code>string content = 3 [json_name = "content"];</code>
getCreateTime()  : Timestamp|null
Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 5 [json_name = "createTime"];</code>
getSlug()  : string
Generated from protobuf field <code>string slug = 7 [json_name = "slug"];</code>
getTitle()  : string
Generated from protobuf field <code>string title = 2 [json_name = "title"];</code>
getUser()  : User|null
Generated from protobuf field <code>.php_bff.bff.User user = 6 [json_name = "user"];</code>
hasCreateTime()  : mixed
hasUser()  : mixed
setCode()  : $this
Generated from protobuf field <code>string code = 1 [json_name = "code"];</code>
setContent()  : $this
Generated from protobuf field <code>string content = 3 [json_name = "content"];</code>
setCreateTime()  : $this
Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 5 [json_name = "createTime"];</code>
setSlug()  : $this
Generated from protobuf field <code>string slug = 7 [json_name = "slug"];</code>
setTitle()  : $this
Generated from protobuf field <code>string title = 2 [json_name = "title"];</code>
setUser()  : $this
Generated from protobuf field <code>.php_bff.bff.User user = 6 [json_name = "user"];</code>

Properties

$code

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

protected mixed $code = ''

$content

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

protected mixed $content = ''

$create_time

Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 5 [json_name = "createTime"];</code>

protected mixed $create_time = null

$slug

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

protected mixed $slug = ''

$title

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

protected mixed $title = ''

$user

Generated from protobuf field <code>.php_bff.bff.User user = 6 [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 $content
@type \Google\Protobuf\Timestamp $create_time
@type \PhpBff\Bff\User $user
@type string $slug

}

clearCreateTime()

public clearCreateTime() : mixed

clearUser()

public clearUser() : mixed

getCode()

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

public getCode() : string
Return values
string

getContent()

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

public getContent() : string
Return values
string

getCreateTime()

Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 5 [json_name = "createTime"];</code>

public getCreateTime() : Timestamp|null
Return values
Timestamp|null

getSlug()

Generated from protobuf field <code>string slug = 7 [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

getUser()

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

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

hasCreateTime()

public hasCreateTime() : mixed

hasUser()

public hasUser() : mixed

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()

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

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

setCreateTime()

Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 5 [json_name = "createTime"];</code>

public setCreateTime(Timestamp $var) : $this
Parameters
$var : Timestamp
Return values
$this

setSlug()

Generated from protobuf field <code>string slug = 7 [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

setUser()

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

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

        
On this page

Search results