See "yii\web\AssetBundle::publish()" method, line 154.