@@ -335,8 +335,8 @@ private function addServiceInlinedDefinitions($id, $definition)
335
335
$ code .= $ this ->addNewInstance ($ id , $ sDefinition , '$ ' .$ name , ' = ' );
336
336
337
337
if (!$ this ->hasReference ($ id , $ sDefinition ->getMethodCalls (), true ) && !$ this ->hasReference ($ id , $ sDefinition ->getProperties (), true )) {
338
- $ code .= $ this ->addServiceMethodCalls (null , $ sDefinition , $ name );
339
338
$ code .= $ this ->addServiceProperties (null , $ sDefinition , $ name );
339
+ $ code .= $ this ->addServiceMethodCalls (null , $ sDefinition , $ name );
340
340
$ code .= $ this ->addServiceConfigurator (null , $ sDefinition , $ name );
341
341
}
342
342
@@ -507,8 +507,8 @@ private function addServiceInlinedDefinitionsSetup($id, Definition $definition)
507
507
}
508
508
509
509
$ name = (string ) $ this ->definitionVariables ->offsetGet ($ iDefinition );
510
- $ code .= $ this ->addServiceMethodCalls (null , $ iDefinition , $ name );
511
510
$ code .= $ this ->addServiceProperties (null , $ iDefinition , $ name );
511
+ $ code .= $ this ->addServiceMethodCalls (null , $ iDefinition , $ name );
512
512
$ code .= $ this ->addServiceConfigurator (null , $ iDefinition , $ name );
513
513
}
514
514
@@ -663,8 +663,8 @@ private function addService($id, Definition $definition)
663
663
$ this ->addServiceInlinedDefinitions ($ id , $ definition ).
664
664
$ this ->addServiceInstance ($ id , $ definition ).
665
665
$ this ->addServiceInlinedDefinitionsSetup ($ id , $ definition ).
666
- $ this ->addServiceMethodCalls ($ id , $ definition ).
667
666
$ this ->addServiceProperties ($ id , $ definition ).
667
+ $ this ->addServiceMethodCalls ($ id , $ definition ).
668
668
$ this ->addServiceConfigurator ($ id , $ definition ).
669
669
$ this ->addServiceReturn ($ id , $ definition )
670
670
;
0 commit comments