public function addRoutes()
    {
        list($rulesBefore, $rulesAfter) = $this->collectRoutes();
        Yii::$app->urlManager->addRules($rulesBefore, false);
        Yii::$app->urlManager->addRules($rulesAfter, true);
        //echo'<pre>'.RoutesInfo::showRoutes($this->uniqueId).'</pre>';exit;
    }