CodeExplorer LicenseInstaller example
$container['database.service'
] =
function D
$c) { return new DatabaseService($c['db'
]);
};
$container['license.service'
] =
function D
$c) { return new LocalLicenseUnpackService();
};
$container['license.installer'
] =
function D
$c) { return new LicenseInstaller($c['db'
]);
};
$container['menu.helper'
] =
function D
$c) { $routes =
$c['config'
]['menu.helper'
]['routes'
];
return new MenuHelper( $c['slim.app'
],
$c['translation.service'
],
$routes );
};