Class ZMQContext not found even though ZMQ is installed

后端 未结 4 1481
小蘑菇
小蘑菇 2020-12-17 18:50

First of all, yes I am aware that there is a very similar question out there, but the answer given there doesn\'t apply to my situation, and there\'s no indication that it f

4条回答
  •  独厮守ぢ
    2020-12-17 19:30

    If the extension is enabled you still need to use this:

    use \ZMQContext;
    use \ZMQ;
    

    (or alternatively directly access them using a leading "\")

提交回复
热议问题