search

Home  >  Q&A  >  body text

thinkphp5.0 introduces class instantiation error

Introduce a class written by someone else into the thinkphp5.0 model

An instantiation error is reported, indicating that the class does not exist, but in fact it does exist

How to instantiate this? I can instantiate it in function.php
Now I want to use it in the model, please help!

高洛峰高洛峰2792 days ago475

reply all(1)I'll reply

  • 过去多啦不再A梦

    过去多啦不再A梦2017-05-16 13:00:02

    new \Yprint

    reply
    0
  • Cancelreply