PHP - Inject new class in child but not the parent

后端 未结 0 1377
攒了一身酷
攒了一身酷 2020-12-11 05:04

I\'d like to inject a class in a child class, but not in the parent. How can I correct my code :

abstract class ParentAbstract {
    /** @var RegistryInterfac         


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