'onInitVoucherGateway', ]; } /** * @return array */ public static function registerJavascript() { return [ 'Voucher' => [ './classes/Modules/Voucher/www/css/voucher.js', ], ]; } /** * @return array */ public static function registerStylesheets() { return [ 'Voucher' => [ './classes/Modules/Voucher/www/css/voucher.css', ], ]; } /** * @param ContainerInterface $container * * @return VoucherGateway */ public static function onInitVoucherGateway(ContainerInterface $container) { return new VoucherGateway($container->get('Database'), $container->get('LegacyApplication')); } }