hyperf / nano

🧬 Nano is a zero-config, no skeleton, minimal Hyperf distribution that allows you to quickly build a Hyperf application with just a single PHP file.
https://nano.hyperf.wiki
MIT License
397 stars 26 forks source link

createSwow 时会报找不到常量 SWOOLE_HOOK_ALL 吧? #54

Closed huangdijia closed 2 years ago

huangdijia commented 2 years ago

https://github.com/hyperf/nano/blob/b99a7cf87f0e1975c9de18eefc224818a3347d57/src/Factory/AppFactory.php#L133-L145

limingxinleo commented 2 years ago

我在 engine-swow 里加了这个常量。。。