How To Get The Path Of Root Alias?

Hello,

I’m new in learning Yii. I have a simple question (I guess :) ), how to get the path of root alias?

I have tried this, but they don’t display anything:




echo Yii::getPathOfAlias('application');

echo Yii::getPathOfAlias('ext');



Thanks in advance.