We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b92bd11 commit 5bc53b1Copy full SHA for 5bc53b1
1 file changed
solid/lib/AppInfo/Application.php
@@ -42,6 +42,18 @@ public function __construct(array $urlParams = []) {
42
43
// executed in the order that it is registered
44
$container->registerMiddleware(SolidCorsMiddleware::class);
45
+
46
+ $container->registerService(SolidWebhookService::class, function($c): SolidWebhookService {
47
+ return new SolidWebhookService(
48
+ $c->query(SolidWebhookMapper::class)
49
+ );
50
+ });
51
52
+ $container->registerService(SolidWebhookMapper::class, function($c): SolidWebhookMapper {
53
+ return new SolidWebhookMapper(
54
+ $c->get(IDBConnection::class)
55
56
57
}
58
59
public function register(IRegistrationContext $context): void {
0 commit comments