Answer the question
In order to leave comments, you need to log in
How to access a model located in /vendor/folder/models?
How to access a model located in /vendor/folder/models?
Yii2
Answer the question
In order to leave comments, you need to log in
so
or so
use vendor\folder\models\MyModel;
....
$model = new Model();
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question