Skip to content

Commit

Permalink
[TASK] Make ProcessingInstructions public service
Browse files Browse the repository at this point in the history
As other services can use the DeeplService and translate by their own,
it's necessary to be able to override the ProcessingInstruction setting
DeepL mode to true. As this is not the default and inside the core extension
only needed for the command map, the service has to be made public, allowing
external services adjusting the instructions.
  • Loading branch information
calien666 committed Dec 17, 2024
1 parent 2c7ba9f commit 690afa7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Configuration/Services.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@

$services
->set(ProcessingInstruction::class)
->arg('$runtimeCache', service('cache.runtime'));
->arg('$runtimeCache', service('cache.runtime'))
->public();
$services
->set(DeeplService::class)
->public()
Expand Down

0 comments on commit 690afa7

Please sign in to comment.