MCPcopy Create free account
hub / github.com/apache/thrift / getStruct

Method getStruct

tutorial/php/PhpServer.php:103–109  ·  view source on GitHub ↗
($key)

Source from the content-addressed store, hash-verified

101 }
102
103 public function getStruct($key) {
104 error_log("getStruct({$key})");
105 // This actually doesn't work because the PHP interpreter is
106 // restarted for every request.
107 //return $this->log[$key];
108 return new \shared\SharedStruct(array("key" => $key, "value" => "PHP is stateless!"));
109 }
110
111 public function zip() {
112 error_log("zip()");

Callers 1

PhpClient.phpFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected