protected function set($name, $value) { $this->application->sendCommand('setObjectProperty', [$this->lazarusObjectId, $name, $value], function ($result) { // Ok, the property changed }); }