($key)
| 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()"); |