php: update helloworld and route guide after beta release
diff --git a/examples/php/helloworld.php b/examples/php/helloworld.php
index 22da3d3..50923e6 100644
--- a/examples/php/helloworld.php
+++ b/examples/php/helloworld.php
@@ -1,7 +1,7 @@
<?php
// DO NOT EDIT! Generated by Protobuf-PHP protoc plugin 1.0
// Source: helloworld.proto
-// Date: 2015-05-29 21:39:19
+// Date: 2015-09-24 20:40:14
namespace helloworld {
@@ -143,18 +143,16 @@
namespace helloworld {
- class GreeterClient{
+ class GreeterClient extends \Grpc\BaseStub {
- private $rpc_impl;
-
- public function __construct($rpc_impl) {
- $this->rpc_impl = $rpc_impl;
+ public function __construct($hostname, $opts) {
+ parent::__construct($hostname, $opts);
}
/**
* @param helloworld\HelloRequest $input
*/
- public function SayHello(\helloworld\HelloRequest $argument, $metadata = array()) {
- return $this->rpc_impl->_simpleRequest('/helloworld.Greeter/SayHello', $argument, '\helloworld\HelloReply::deserialize', $metadata);
+ public function SayHello(\helloworld\HelloRequest $argument, $metadata = array(), $options = array()) {
+ return $this->_simpleRequest('/helloworld.Greeter/SayHello', $argument, '\helloworld\HelloReply::deserialize', $metadata, $options);
}
}
}