How to have class loaded without using “use” but call it as if I used it
问题 I have studied these 2 sources, but none of those works for me. http://www.yiiframework.com/doc-2.0/guide-concept-autoloading.html Yii2 - How do I AutoLoad a custom class? I have created custom helper class which I want to include in every model, controller and view in my application. I am using Yii2 advanced app version 2.0.11, IDE I am using is PHPStorm QUESTION: What I want to achieve is to not use use keyword at the beggining of every class but still be able to simply call AppHelper: