Home >Backend Development >PHP Tutorial >The class introduced in the Yii framework cannot be found.
I would like to ask you a question. The project is written based on Yii. I used a Service class in the DemoController class in the controllers directory. This class is located in the commonserviceService namespace. When running, it prompts
Class 'commonserviceService' not found, quoted. The namespace is correct but it says it cannot be found.
I copied this Service from another Yii-based project. Thanks!
I would like to ask you a question. The project is written based on Yii. I used a Service class in the DemoController class in the controllers directory. This class is located in the commonserviceService namespace. When running, it prompts
Class 'commonserviceService' not found, quoted. The namespace is correct but it says it cannot be found.
I copied this Service from another Yii-based project. Thanks!