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

Method add

tutorial/php/PhpServer.php:62–65  ·  view source on GitHub ↗
($num1, $num2)

Source from the content-addressed store, hash-verified

60 }
61
62 public function add($num1, $num2) {
63 error_log("add({$num1}, {$num2})");
64 return $num1 + $num2;
65 }
66
67 public function calculate($logid, \tutorial\Work $w) {
68 error_log("calculate({$logid}, {{$w->op}, {$w->num1}, {$w->num2}})");

Callers 1

PhpClient.phpFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected