public function decodeUsing(\MSF\EncoderInterface $encoder) { $data = $encoder->decode($this->encoded); if (isset($data->errors)) { $this->errors = $data->errors; } elseif (isset($data->body)) { $this->body = $data->body; } }
public function decodeUsing(\MSF\EncoderInterface $encoder) { $data = $encoder->decode($this->encoded); $this->rpc = $data->rpc; $this->args = $data->args; }