Closed Guillaume-Rossignol closed 9 years ago
Add some syntaxic sugar to permit :
<?php $fooInstance = new \Assembly\InstanceDefinition('fooInstance', 'foo'); $xmlClient ->addConstructorArgument(2) ->addPropertyAssignment(new \Assembly\PropertyAssignment('property', 'value')) ->addMethodCall(new \Assembly\MethodCall('method', ['argument'])) ; $barInstance = new \Assembly\InstanceDefinition('barInstace', 'bar'); $barInstance ->addConstructorArgument($fooInstance->createReference()) ->addConstructorArgument('argument') ;
Add some syntaxic sugar to permit :