How to pass parameters in dependency injection?
明月松间照
明月松间照 2021-02-06 13:45:28
0
1
1061

If the index() method uses dependency injection, how to pass parameters to $name?

明月松间照
明月松间照

reply all (1)
灭绝师太

When calling the index method, you can directly pass the external parameters as actual parameters

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!