public function actionIndex()
    {
        $dataHandler = new SitemapDataHandler($this->savePathAlias, $this->sitemapFileName, [
            'builderConfig' => $this->builderConfig,
        ]);

        $models = $dataHandler->getModelsClasses($this->modelsPath, $this->modelsNamespace);
        $dataHandler->handleModels($models);
    }
public function actionIndex()
    {
        $dataHandler = new SitemapDataHandler($this->savePathAlias, $this->sitemapFileName, [
            'builderConfig' => $this->builderConfig,
        ]);

        $models = $dataHandler->getModelsClasses($this->modelsPath, $this->modelsNamespace);
        $dataHandler->handleModels($models);
    }
public function actionIndex ( ) { $ dataHandler = new SitemapDataHandler ( $ this -> savePathAlias , $ this -> sitemapFileName , [ 'builderConfig' => $ this -> builderConfig , ] ) ; $ models = $ dataHandler -> getModelsClasses ( $ this -> modelsPath , $ this -> modelsNamespace ) ; $ dataHandler -> handleModels ( $ models ) ; }
Index action for run sitemap creation
Index action for run sitemap creation