$container['config'
] =
$this->config;
$container['shopware.version'
] =
function D
) { $version =
trim(file_get_contents(__DIR__ . '/../data/version'
));
return $version;
};
$container['slim.app'
] =
function D
$c) { $slimOptions =
$c['config'
]['slim'
];
$slim =
new \Slim\
Slim($slimOptions);
$slim->
contentType('text/html; charset=utf-8'
);
$c['slim.request'
] =
$slim->
request();
$c['slim.response'
] =
$slim->
response();
return $slim;
};
$container['system.locker'
] =
function D
$c) { return new SystemLocker( SW_PATH . '/recovery/install/data/install.lock'
);
};