Add php protobuffer support for transition to GTFS-realtime
[busui.git] / lib / Protobuf-PHP / tests / protos / Annotated / Repeated.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
 
namespace Tests\Annotated;
 
class Repeated extends \DrSlump\Protobuf\AnnotatedMessage
{
    /** @protobuf(tag=1, type=string, repeated) */
    public $string;
    /** @protobuf(tag=2, type=int32, repeated) */
    public $int;
    /** @protobuf(tag=3, type=message, reference=tests\Annotated\RepeatedNested, repeated) */
    public $nested;
}
 
class RepeatedNested extends \DrSlump\Protobuf\AnnotatedMessage
{
    /** @protobuf(tag=1, type=int32) */
    public $id;
}