dumpConfigFromEvent example

$themeProvider = $this->createMock(DatabaseAvailableThemeProvider::class);
        $themeProvider->method('load')->willReturn(['test' => 'test']);

        $dumper = new StaticFileConfigDumper(
            $loader,
            $themeProvider,
            $fs
        );

        $dumper->dumpConfig(Context::createDefaultContext());
        $dumper->dumpConfigFromEvent();
    }
}
Home | Imprint | This part of the site doesn't use cookies.