How Can I use contructor in kernel.php file

后端 未结 0 707
后悔当初
后悔当初 2021-02-01 17:59

I wanna use constructor method like below for dependency injection, How can I use the repository pattern in this case?

The code bellow does not work and it gives me the c

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