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

Class Update

connection-examples/php/state.php:3–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1<?php
2
3class Update {
4 private $value;
5 private $diff;
6
7 public function __construct($value, $diff) {
8 $this->value = $value;
9 $this->diff = $diff;
10 }
11
12 public function getValue() {
13 return $this->value;
14 }
15
16 public function getDiff() {
17 return $this->diff;
18 }
19}
20
21class State {
22 private $state;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected