Alias for module

hi.

I need to include classes from the current module.

is it possible to use aliases in the use or require_once command ?




use @current_module\models\MyModel;



Hi,

We are also seeking the answer of this question. We found that it works if we use custom defined alias instead of predefined alias. But I don’t know why.