'onInitDataTableService', 'DataTableRequestHandler' => 'onInitDataTableRequestHandler', ]; } /** * @param ContainerInterface $container * * @return DataTableService */ public static function onInitDataTableService(ContainerInterface $container) { $factory = new DataTableFactory($container); return $factory->createDataTableService(); } /** * @param ContainerInterface $container * * @return DataTableRequestHandler */ public static function onInitDataTableRequestHandler(ContainerInterface $container) { $factory = new DataTableFactory($container); return $factory->createDataTableRequestHandler(); } }