USE keyword
玉簟秋
玉簟秋 2020-01-07 10:38:29
0
1
1409

After the use keyword is introduced into a class, can the attributes of this class be directly called?

玉簟秋
玉簟秋

reply all(1)
有什么是忘不了的。

If you use the tp framework, you can directly introduce it, instantiate it and call it.

If you are not using it in a framework, you need to load the file yourself. Framework: Such as tp framework, they are all automatically loaded. After you use a class, the file will be automatically loaded. So in fact, after a use class comes in, it still needs to load the file.

If I understand correctly, this is what it looks like.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template