@@ -89,7 +89,7 @@ private function addService($id, $definition)
89
89
}
90
90
91
91
if ($ definition ->getFile ()) {
92
- $ code .= sprintf (" file: %s \n" , $ definition ->getFile ());
92
+ $ code .= sprintf (" file: %s \n" , $ this -> dumper -> dump ( $ definition ->getFile () ));
93
93
}
94
94
95
95
if ($ definition ->isSynthetic ()) {
@@ -109,11 +109,11 @@ private function addService($id, $definition)
109
109
}
110
110
111
111
if ($ definition ->getFactoryMethod (false )) {
112
- $ code .= sprintf (" factory_method: %s \n" , $ definition ->getFactoryMethod (false ));
112
+ $ code .= sprintf (" factory_method: %s \n" , $ this -> dumper -> dump ( $ definition ->getFactoryMethod (false ) ));
113
113
}
114
114
115
115
if ($ definition ->getFactoryService (false )) {
116
- $ code .= sprintf (" factory_service: %s \n" , $ definition ->getFactoryService (false ));
116
+ $ code .= sprintf (" factory_service: %s \n" , $ this -> dumper -> dump ( $ definition ->getFactoryService (false ) ));
117
117
}
118
118
119
119
if ($ definition ->getArguments ()) {
@@ -129,7 +129,7 @@ private function addService($id, $definition)
129
129
}
130
130
131
131
if (ContainerInterface::SCOPE_CONTAINER !== $ scope = $ definition ->getScope ()) {
132
- $ code .= sprintf (" scope: %s \n" , $ scope );
132
+ $ code .= sprintf (" scope: %s \n" , $ this -> dumper -> dump ( $ scope) );
133
133
}
134
134
135
135
if (null !== $ decorated = $ definition ->getDecoratedService ()) {
0 commit comments