Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Text
Posted by: userc865b
Added: Jan 30, 2018 10:29 PM
Views: 13
Tags: symfony
how to reference services in service.yml
  1.     test:
  2.       class: AppBundle\TestService\Naming
  3.       arguments:
  4.         $injected:  "@injected"
  5.         $injected2: "@AppBundle\\TestService\\Injected2"
  6.  
  7.     injected:
  8.       class: AppBundle\TestService\Injected