How to get rid of use Statements in views?

instead of writing this:

use yii\bootstrap\Alert;

<?php echo Alert::widget(); ?>

or this:

<?php echo yii\bootstrap\Alert::widget(); ?>

I want to write this:

<?php echo Alert::widget(); ?>

As far as I know, there’s no way to achieve it.

ok, the only way I see is to create a function api file that provides shortcuts