yii2support
yii2support copied to clipboard
Support aliases in path
Could you make support for aliases in path strings such as: @modules/data/views/backend/data/_values.php
This would be a nice feature, it is annoying seeing the false positives for views that exist but the plugin doesn't parse the Yii:setAliases that are set in the bootstrap.php
Yii::setAlias('@common', dirname(DIR)); Yii::setAlias('@frontend', dirname(dirname(DIR)) . '/frontend'); Yii::setAlias('@backend', dirname(dirname(DIR)) . '/backend'); Yii::setAlias('@console', dirname(dirname(DIR)) . '/console');