Updated PHP library to handle generated code without explicit references to grpc
diff --git a/src/php/lib/Grpc/BaseStub.php b/src/php/lib/Grpc/BaseStub.php
index e745ec3..ff293c0 100755
--- a/src/php/lib/Grpc/BaseStub.php
+++ b/src/php/lib/Grpc/BaseStub.php
@@ -33,10 +33,10 @@
* @param array $metadata A metadata map to send to the server
* @return SimpleSurfaceActiveCall The active call object
*/
- protected function _simpleRequest($method,
- $argument,
- callable $deserialize,
- $metadata = array()) {
+ public function _simpleRequest($method,
+ $argument,
+ callable $deserialize,
+ $metadata = array()) {
return new SimpleSurfaceActiveCall($this->channel,
$method,
$deserialize,
@@ -55,10 +55,10 @@
* @param array $metadata A metadata map to send to the server
* @return ClientStreamingSurfaceActiveCall The active call object
*/
- protected function _clientStreamRequest($method,
- $arguments,
- callable $deserialize,
- $metadata = array()) {
+ public function _clientStreamRequest($method,
+ $arguments,
+ callable $deserialize,
+ $metadata = array()) {
return new ClientStreamingSurfaceActiveCall($this->channel,
$method,
$deserialize,
@@ -76,10 +76,10 @@
* @param array $metadata A metadata map to send to the server
* @return ServerStreamingSurfaceActiveCall The active call object
*/
- protected function _serverStreamRequest($method,
- $argument,
- callable $deserialize,
- $metadata = array()) {
+ public function _serverStreamRequest($method,
+ $argument,
+ callable $deserialize,
+ $metadata = array()) {
return new ServerStreamingSurfaceActiveCall($this->channel,
$method,
$deserialize,
@@ -95,9 +95,9 @@
* @param array $metadata A metadata map to send to the server
* @return BidiStreamingSurfaceActiveCall The active call object
*/
- protected function _bidiRequest($method,
- callable $deserialize,
- $metadata = array()) {
+ public function _bidiRequest($method,
+ callable $deserialize,
+ $metadata = array()) {
return new BidiStreamingSurfaceActiveCall($this->channel,
$method,
$deserialize,