C
C
Caspergreen2016-09-30 12:48:34
MySQL
Caspergreen, 2016-09-30 12:48:34

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

1 answer(s)
M
Maxim Fedorov, 2016-09-30
@Caspergreen

so
or so

use vendor\folder\models\MyModel;

....
$model = new Model();

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question