MCPcopy Create free account
hub / github.com/MaterializeInc/demos / update

Method update

connection-examples/php/state.php:90–99  ·  view source on GitHub ↗
($updates, $timestamp)

Source from the content-addressed store, hash-verified

88 }
89
90 public function update($updates, $timestamp) {
91 if (count($updates) > 0) {
92 $this->validate($timestamp);
93 $this->timestamp = $timestamp;
94
95 foreach ($updates as $update) {
96 $this->process($update);
97 }
98 }
99 }
100}

Callers 1

subscribe.phpFile · 0.45

Calls 2

validateMethod · 0.95
processMethod · 0.95

Tested by

no test coverage detected