public function actionRefresh(): array
    {
        $model = Yii::createObject($this->modelClass);
        $model->invalidate();

        return $model->getAvailableAndAssignedRoutes();
    }
public function actionRefresh(): array
    {
        $model = Yii::createObject($this->modelClass);
        $model->invalidate();

        return $model->getAvailableAndAssignedRoutes();
    }
public function actionRefresh ( ) : array { $ model = Yii :: createObject ( $ this -> modelClass ) ; $ model -> invalidate ( ) ; return $ model -> getAvailableAndAssignedRoutes ( ) ; }
Refresh cache of routes

@return array
Refresh cache of routes