阅读背景:

如何在PHP中使用接口和魔术方法

来源:互联网 

I want to use interfaces, but some of my implementations rely on magic methods such as __invoke and __call. I have to remove signatures of methods that may be invoked magically (in any implementation) from the interface. Which leads to the anti pattern Empty Interface (Yeah, I just made that up).I want to use interfaces, but some of my implem




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: