Why PHP asks to pass arguments to the anonymous class?

前端 未结 0 618
闹比i
闹比i 2020-12-17 08:42

I am trying to create an anonymous class which extends an abstract class.

$trainerEngineClass = new class extends \\App\\MemoryBoost\\TrainerEngine {
                 


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