Update Yii2.php

synchronization with Yii2's url creation