search

Home  >  Q&A  >  body text

Configuration scope

Direct dump(Config::get()) without switching the scope is the same as the output with the scope switched, so I still don’t understand the use of the scope

陈大大陈大大2707 days ago1268

reply all(2)I'll reply

  • heloo

    heloo2018-01-27 20:45:37

    I don’t understand it either, and I don’t know what it’s used for either.

    reply
    0
  • ringa_lee

    ringa_lee2017-08-11 18:22:57

    Scope is equivalent to the role of namespace. In ordinary small-scale development, it is not very meaningful. Use it if you can, or don't use it. --!

    reply
    0
  • Cancelreply