public function __construct(DomainConfiguration ...$domains)
{
if (!empty($domains)) {
$this->addDomain(...$domains);
}
$this->config['cacheOptions']['cache_folder'] = sys_get_temp_dir();
$this->config['schemaFolder'] = __DIR__ . $this->config['schemaFolder'];
$this->eventDispatcher = new SymfonyEventDispatcher();
}