return new ThemeService( $c['db'
],
$c['shopware.theme_installer'
] );
};
$container['install.requirements'
] =
function D
$c) { return new Requirements(SW_PATH . '/engine/Shopware/Components/Check/Data/System.xml',
$c['translation.service'
]);
};
$container['install.requirementsPath'
] =
function D
$c) { $check =
new RequirementsPath(SW_PATH, SW_PATH . '/engine/Shopware/Components/Check/Data/Path.xml'
);
$check->
addFile('recovery/install/data'
);
return $check;
};
$container['db'
] =
function D
$c) { throw new RuntimeException('Identifier DB not initialized yet'
);
};
$container['config.writer'
] =
function D
$c) { return new ConfigWriter(SW_PATH . '/config.php'
);
};