public function __call($method, $args) { $res = call_user_func_array([$this->context, $method], $args); if ($res instanceof RawZMQSocket) { $res = $this->wrapSocket($res); } return $res; }