waitCommand() public method

Send a command and wait the return
public waitCommand ( string $method, array $params ) : mixed
$method string the method name
$params array the method params
return mixed
Example #1
0
 /**
  * This magic method is used to send the IPC message when a property is get
  *
  * @param string $name Property name
  *
  * @return mixed
  */
 protected function get($name)
 {
     return $this->application->waitCommand('getObjectProperty', [$this->lazarusObjectId, $name]);
 }