src/GCPBidiStreamingCall.php
public function write($data, array $options = [])
    {
        if (!$this->has_real_call) {
            $this->createRealCall($data);
            $this->has_real_call = true;
        }
        $this->real_call->write($data, $options);
    }
public function write($data, array $options = [])
    {
        if (!$this->has_real_call) {
            $this->createRealCall($data);
            $this->has_real_call = true;
        }
        $this->real_call->write($data, $options);
    }
public function write ( $ data , array $ options = [ ] ) { if ( ! $ this -> has_real_call ) { $ this -> createRealCall ( $ data ) ; $ this -> has_real_call = true ; } $ this -> real_call -> write ( $ data , $ options ) ; }
Write a single message to the server. This cannot be called after
writesDone is called.

@param ByteBuffer $data    The data to write
@param array      $options An array of options, possible keys:
'flags' => a number (optional)
Write a single message to the server . This cannot be called after writesDone is called .