use classes from common inside of console dir

Is it possible to use classes from /common/models/ directory inside of /console/models/.

Eg. I want to create class called Projects inside of console/models and use class of User from common/models.

Would it work if I just simply write?

namespace console\models; 

use common\models\User;

class Projects {


Did you try it?

Tried. For some reason did not work for the first time. When I tried again — it worked.

All solved.