@@ -88,7 +88,7 @@ private function addService($id, $definition)
8888 }
8989
9090 if ($ definition ->getFile ()) {
91- $ code .= sprintf (" file: %s \n" , $ definition ->getFile ());
91+ $ code .= sprintf (" file: %s \n" , $ this -> dumper -> dump ( $ definition ->getFile () ));
9292 }
9393
9494 if ($ definition ->isSynthetic ()) {
@@ -108,11 +108,11 @@ private function addService($id, $definition)
108108 }
109109
110110 if ($ definition ->getFactoryMethod ()) {
111- $ code .= sprintf (" factory_method: %s \n" , $ definition ->getFactoryMethod ());
111+ $ code .= sprintf (" factory_method: %s \n" , $ this -> dumper -> dump ( $ definition ->getFactoryMethod () ));
112112 }
113113
114114 if ($ definition ->getFactoryService ()) {
115- $ code .= sprintf (" factory_service: %s \n" , $ definition ->getFactoryService ());
115+ $ code .= sprintf (" factory_service: %s \n" , $ this -> dumper -> dump ( $ definition ->getFactoryService () ));
116116 }
117117
118118 if ($ definition ->getArguments ()) {
@@ -128,7 +128,7 @@ private function addService($id, $definition)
128128 }
129129
130130 if (ContainerInterface::SCOPE_CONTAINER !== $ scope = $ definition ->getScope ()) {
131- $ code .= sprintf (" scope: %s \n" , $ scope );
131+ $ code .= sprintf (" scope: %s \n" , $ this -> dumper -> dump ( $ scope) );
132132 }
133133
134134 if ($ callable = $ definition ->getConfigurator ()) {
0 commit comments