Skip to content

Commit b545e0a

Browse files
author
Petter Andersson
committed
vite migration
1 parent eec2ad3 commit b545e0a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

api-alarm-integration.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
* Text Domain: api-alarm-integration
1313
* Domain Path: /languages
1414
*/
15+
use WpService\Implementations\NativeWpService;
16+
use WpUtilService\WpUtilService;
1517

1618
// Protect agains direct file access
1719
if (! defined('WPINC')) {
@@ -59,5 +61,8 @@
5961
$acfExportManager->import();
6062
});
6163

64+
$wpService = new NativeWpService();
65+
$wpUtilService = new WpUtilService($wpService);
66+
6267
// Start application
63-
new ApiAlarmIntegration\App();
68+
new ApiAlarmIntegration\App($wpUtilService->enqueue(__DIR__));

0 commit comments

Comments
 (0)