- Issue created by @murz
- Merge request !126Issue #3489526: Add support for named arguments in services → (Merged) created by murz
Drupal allows configuring named arguments in the services.yml file like this:
services:
my_service:
class: Drupal\my_module\MyService
arguments:
$configFactory: '@config.factory'
$languageManager: '@language_manager'
$logger: '@logger.channel.commercetools'
$httpClientFactory: '@http_client_factory'
$cacheBackend: '@cache.default'
But Test Helpers fails with it now with an error:
Error: Unknown named parameter $$configFactory
Will be good to implement this feature.
Active
1.5
Code