title: how to assign repeated message in protobuf-php, with proto3 syntax?
body: <p>The .proto file defined:</p>
  
  <pre><code>message ResponseStatus {
      uint32 code = 1;
      string message = 2;
  }
  message DepositPaymentRequest {
      uint32 member_id = 1;
  }
  message DepositPaymentResponse {
      ResponseStatus status = 1;
      repeated DepositMethod methods = 2;
  }
  message DepositMethod {
      string method_name = 1;
      string payment_count = 2;
      repeated DepositPayment payments = 3;
  }
  message DepositPayment {
      uint32 payment_id = 1;
      string payment_name = 2;
      uint32 payment_money_min = 3;
      uint32 payment_money_max = 4;
  }
  </code></pre>
  
  <p>My php code:</p>
  
  <pre><code>$status = [
      'code'    =&gt; 200,
      'message' =&gt; 'Success'
  ];
  $responseStatus = new ResponseStatus($status);
  $depositMethods = [
      [
           'name'  =&gt; 'name1',
           'count' =&gt; 1,
           'payments' =&gt; [
                [
                     'payment_id'        =&gt; 1,
                     'payment_name'      =&gt; 'name1',
                     'payment_money_min' =&gt; 10,
                     'payment_money_max' =&gt; 5000
                ]
           ]
      ]
  ];
  $depositPaymentResponse = new DepositPaymentResponse();
  $result = $depositPaymentResponse-&gt;setStatus($responseStatus)
                                           -&gt;setMethods($depositMethods)
                                           -&gt;serializeToString();
  </code></pre>
  
  <p><strong>actual:</strong>
  the $result no data, so how to assign repeated field ?</p>
  
  <p>I try to use RepeatedField class like this:</p>
  
  <pre><code>$repeatedMethods = new RepeatedField(GPBType::MESSAGE, DepositMethod::class);
  </code></pre>
  
  <p>But I don't known how to use this, so i use array to assign but not success</p>