Hello,
I need some help which a tiny issue I currently have whichw splits up in 
two different cases.

Case 1 : My controller has a @DI\Service annotation to declare it as a 
service and two properties pointing to two user-defined services via 
@DI\InjectParams with two nested @DI\Inject on controller constructor.

>> Issue here :  
Warning: call_user_func() expects parameter 1 to be a valid callback, no 
array or string given in [...]/app/cache/dev/classes.php line 244 
Case 2 : My controller only has a two properties pointing to two 
user-defined services via @DI\InjectParams with two nested @DI\Inject on 
controller constructor.

Issue here : 
You have requested a non-existent service "[name of one of the two services 
injected]"


Does anyone have an idea on how to solve this issues ? (Prerably while 
keeping the @Service annotation as it would allow me to avoid rewriting some 
tests clasess as well.

Thanks.


Regards,

Shadowalker

-- 
-- 
If you want to report a vulnerability issue on Symfony, please read the 
procedure on http://symfony.com/security

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to symfony-devs@googlegroups.com
To unsubscribe from this group, send email to
symfony-devs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Symfony developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to symfony-devs+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to