create_install_plugins_processor(), $this->create_install_themes_processor(), new ImportSetSiteOptions(), new ImportActivatePlugin(), new ImportActivateTheme(), new ImportRunSql(), ); } /** * Creates the processor for installing plugins. * * @return ImportInstallPlugin The processor for installing plugins. */ private function create_install_plugins_processor() { $storages = new ResourceStorages(); $storages->add_storage( new OrgPluginResourceStorage() ); return new ImportInstallPlugin( $storages ); } /** * Creates the processor for installing themes. * * @return ImportInstallTheme The processor for installing themes. */ private function create_install_themes_processor() { $storage = new ResourceStorages(); $storage->add_storage( new OrgThemeResourceStorage() ); return new ImportInstallTheme( $storage ); } }