Skip to content

Commit

Permalink
Rollback replace config registry id with interface alias
Browse files Browse the repository at this point in the history
  • Loading branch information
maelanleborgne committed Jun 28, 2024
1 parent d1f45f7 commit a5df37f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions config/builder_pdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
service('sensiolabs_gotenberg.client'),
service('sensiolabs_gotenberg.asset.base_dir_formatter'),
service('twig')->nullOnInvalid(),
service(WebhookConfigurationRegistryInterface::class)->nullOnInvalid(),
service('.sensiolabs_gotenberg.webhook_configuration_registry')->nullOnInvalid(),
])
->call('setLogger', [service('logger')->nullOnInvalid()])
->tag('sensiolabs_gotenberg.pdf_builder')
Expand All @@ -36,7 +36,7 @@
service('sensiolabs_gotenberg.asset.base_dir_formatter'),
service('twig')->nullOnInvalid(),
service('router')->nullOnInvalid(),
service(WebhookConfigurationRegistryInterface::class)->nullOnInvalid(),
service('.sensiolabs_gotenberg.webhook_configuration_registry')->nullOnInvalid(),
])
->call('setLogger', [service('logger')->nullOnInvalid()])
->call('setRequestContext', [service('.sensiolabs_gotenberg.request_context')->nullOnInvalid()])
Expand All @@ -49,7 +49,7 @@
service('sensiolabs_gotenberg.client'),
service('sensiolabs_gotenberg.asset.base_dir_formatter'),
service('twig')->nullOnInvalid(),
service(WebhookConfigurationRegistryInterface::class)->nullOnInvalid(),
service('.sensiolabs_gotenberg.webhook_configuration_registry')->nullOnInvalid(),
])
->call('setLogger', [service('logger')->nullOnInvalid()])
->tag('sensiolabs_gotenberg.pdf_builder')
Expand All @@ -60,7 +60,7 @@
->args([
service('sensiolabs_gotenberg.client'),
service('sensiolabs_gotenberg.asset.base_dir_formatter'),
service(WebhookConfigurationRegistryInterface::class)->nullOnInvalid(),
service('.sensiolabs_gotenberg.webhook_configuration_registry')->nullOnInvalid(),
])
->call('setLogger', [service('logger')->nullOnInvalid()])
->tag('sensiolabs_gotenberg.pdf_builder')
Expand All @@ -71,7 +71,7 @@
->args([
service('sensiolabs_gotenberg.client'),
service('sensiolabs_gotenberg.asset.base_dir_formatter'),
service(WebhookConfigurationRegistryInterface::class)->nullOnInvalid(),
service('.sensiolabs_gotenberg.webhook_configuration_registry')->nullOnInvalid(),
])
->call('setLogger', [service('logger')->nullOnInvalid()])
->tag('sensiolabs_gotenberg.pdf_builder')
Expand All @@ -82,7 +82,7 @@
->args([
service('sensiolabs_gotenberg.client'),
service('sensiolabs_gotenberg.asset.base_dir_formatter'),
service(WebhookConfigurationRegistryInterface::class)->nullOnInvalid(),
service('.sensiolabs_gotenberg.webhook_configuration_registry')->nullOnInvalid(),
])
->call('setLogger', [service('logger')->nullOnInvalid()])
->tag('sensiolabs_gotenberg.pdf_builder')
Expand Down
6 changes: 3 additions & 3 deletions config/builder_screenshot.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
service('sensiolabs_gotenberg.client'),
service('sensiolabs_gotenberg.asset.base_dir_formatter'),
service('twig')->nullOnInvalid(),
service(WebhookConfigurationRegistryInterface::class)->nullOnInvalid(),
service('.sensiolabs_gotenberg.webhook_configuration_registry')->nullOnInvalid(),
])
->call('setLogger', [service('logger')->nullOnInvalid()])
->tag('sensiolabs_gotenberg.screenshot_builder')
Expand All @@ -33,7 +33,7 @@
service('sensiolabs_gotenberg.asset.base_dir_formatter'),
service('twig')->nullOnInvalid(),
service('router')->nullOnInvalid(),
service(WebhookConfigurationRegistryInterface::class)->nullOnInvalid(),
service('.sensiolabs_gotenberg.webhook_configuration_registry')->nullOnInvalid(),
])
->call('setLogger', [service('logger')->nullOnInvalid()])
->call('setRequestContext', [service('.sensiolabs_gotenberg.request_context')->nullOnInvalid()])
Expand All @@ -46,7 +46,7 @@
service('sensiolabs_gotenberg.client'),
service('sensiolabs_gotenberg.asset.base_dir_formatter'),
service('twig')->nullOnInvalid(),
service(WebhookConfigurationRegistryInterface::class)->nullOnInvalid(),
service('.sensiolabs_gotenberg.webhook_configuration_registry')->nullOnInvalid(),
])
->call('setLogger', [service('logger')->nullOnInvalid()])
->tag('sensiolabs_gotenberg.screenshot_builder')
Expand Down

0 comments on commit a5df37f

Please sign in to comment.