Closed dakorpar closed 5 years ago
Hi, sorry for late response. Do you have registerOnConfiguration
set to true (default is false)?
Can you provide some minimal scenario for reproducing? Ideally failing test.
sorry I don't remember anymore of this, I'm closing it, I don't have this problem anymore
There's problem when U have class which needs to be registered manually but it's in namespace which is configured with autoDI For example if U have class there which receives string $path you'll get error
Parameter $path in App\Services\MyService::__construct() has no class type hint or default value, so its value must be specified.
This is correct. but then if I add this service to config.neon
I'll get:
Multiple services of type App\Services\MyService found: ...
This is kinda important to work IMHO, any ideas? @fmasa
edit: on description page there's:
But this does not work...