'onInitImportTemplateJsonService', 'ImportTemplateService' => 'onInitImportTemplateService', 'ImportTemplateGateway' => 'onInitImportTemplateGateway', ]; } /** * @param ContainerInterface $container * * @return ImportTemplateJsonService */ public static function onInitImportTemplateJsonService(ContainerInterface $container) { return new ImportTemplateJsonService( $container->get('ImportTemplateService'), $container->get('ImportTemplateGateway') ); } /** * @param ContainerInterface $container * * @return ImportTemplateService */ public static function onInitImportTemplateService(ContainerInterface $container) { return new ImportTemplateService( $container->get('Database') ); } /** * @param ContainerInterface $container * * @return ImportTemplateGateway */ public static function onInitImportTemplateGateway(ContainerInterface $container) { return new ImportTemplateGateway( $container->get('Database') ); } }