Is it possible to implement an interface with PHP 8 attribute and check if it is an instance of that interface?

前端 未结 0 901
故里飘歌
故里飘歌 2021-02-04 05:46

I have an PHP attribute as follow:

#[Attribute(Attribute::TARGET_PROPERTY|Attribute::TARGET_METHOD|Attribute::TARGET_PARAM         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题