PHP passing any class to one method of Trait and create new instance

前端 未结 0 359
灰色年华
灰色年华 2021-01-21 05:46

In this simple Trait in php i would like to pass any class into sample method and when $class is null, it should be create ne

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