Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
Protobuf
MessageCollection
PHP Class Protobuf\MessageCollection
Author:
Fabio B. Silva (
[email protected]
)
Inheritance:
extends
ArrayObjec\ArrayObject
,
implements
Collection
显示文件
Open project: protobuf-php/protobuf
Class Usage Examples
Public Methods
Method
Description
__construct
(
array
$values
= [] )
add
(
Message
$message
)
Adds a message to this collection
offsetSet
(
$offset
,
$value
)
Method Details
__construct()
public
method
public
__construct
(
array
$values
= [] )
$values
array
add()
public
method
Adds a message to this collection
public
add
(
Message
$message
)
$message
Message
offsetSet()
public
method
public
offsetSet
(
$offset
,
$value
)