getCaller() public method

Get caller
public getCaller ( ) : Caller
return Thruway\Role\Caller
Example #1
0
 /**
  * Call
  *
  * @param string $procedureName
  * @param array|mixed $arguments
  * @param array|mixed $argumentsKw
  * @param array|mixed $options
  * @return \React\Promise\Promise
  */
 public function call($procedureName, $arguments = null, $argumentsKw = null, $options = null)
 {
     return $this->peer->getCaller()->call($this, $procedureName, $arguments, $argumentsKw, $options);
 }