1
0
mirror of https://github.com/OpenXE-org/OpenXE.git synced 2025-03-05 22:49:48 +01:00

31 lines
678 B
PHP
Raw Normal View History

2021-05-21 08:49:41 +02:00
<?php
namespace Xentral\Modules\Bmd;
use Xentral\Core\DependencyInjection\ContainerInterface;
use Xentral\Modules\Bmd\Service\BmdRevenueLedgerService;
final class Bootstrap
{
/**
* @return array
*/
public static function registerServices()
{
return [
'BmdRevenueLedgerService' => 'onInitBmdRevenueLedgerService',
];
}
/**
* @param ContainerInterface $container
*
* @return BmdRevenueLedgerService
*/
public static function onInitBmdRevenueLedgerService(ContainerInterface $container)
{
return new BmdRevenueLedgerService(
$container->get('Database')
);
}
}