Closed Tinywan closed 2 years ago
v3.1 用在 webman 下不需要安装额外的 container 实现么?
需要安装的,刚用新项目试了一下不行,否则报错:Yansongda\Pay\Exception\ContainerNotFoundException: Init failed! Maybe you should install php-di/php-di
first in
当初是其他依赖包安装这个di了,我以为不用也可以的
# composer why php-di/php-di
tinywan/casbin v0.0.9 requires php-di/php-di (^6.3)
官方的这个容器实现是否可以改动一下就可以了?https://github.com/walkor/webman-framework/blob/master/src/Container.php
刚看了一下,需要传个 $name ,不知道要传什么
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/yansongda/pay/EbdbNFzL3Af533HAFoWpdZe2c3nK
✅ Preview: https://pay-git-fork-tinywan-patch-1-yansongda.vercel.app