Class yii\helpers\BaseUrl add forget function

Hi, Class yii\helpers\Base currently has "remember" and "previous" methods. I find it useful to have a "forget" method in some cases to remove the url from the session.

Something like:




public static function forget($name)

{

    Yii::$app->getSession()->remove($name);

}



then feel free to add it in your application.