array_sum($params)); } /** * Name of RPC, use for pubsub router (see step3) * * @return string */ public function getName() { return 'acme.rpc'; } }