Please sign in to comment.
[UPDATE] behaviour and php doc enhancements
[UPDATE] behaviour and php doc enhancements Update WsdlToPhpGenerator::manageWsdlNodeDocumentation() method in order to improve, again, documentation tags detection. Update WsdlToPhpGenerator php doc comment. Update WsdlToPhpModel::getCleanName() method behaviour in order to allow to keep muliple consecutive undescores in the generated name. So the struct attributes are detected as having a clean name even if they contain multiple consecutive underscores. Update WsdlToPhpModel::cleanString() method in order to take account of this new parameter. By default, multiple consecutive underscores are kept. Update WsdlToPhpModel php doc comments. Update WsdlToPhpStruct::getAttributes() calls in WsdlToPhpFunction::getComment() and WsdlToPhpFunction::getBody() methods in order to take advantage of the new WsdlToPhpStruct::getAttributes() method behaviour. Update WsdlToPhpStruct::getAttributes() behaviour by adding a second parameter allowing to get attributes ordered as required attributes are positionned as first attributes. So, the generated class __construct() method will be easier to call as the required parameters are placed as first parameters. Improve WsdlToPhpStruct::isArray() method in order to take account the number of attributes the struct owns by calling new WsdlToPhpStruct::countOwnAttributes() method. Improve generated array containing parameters passed to the parent class in order to take account of the parameter type when parameter is a generated array type class. Update WsdlToPhpStruct php doc comment. Update WsdlToPhpStructAttribute::getSetterDeclaration() method in order to generate better php doc comment for the current attribute setter method when struct is an array type class. Update WsdlToPhpStructAttribute php doc comment. Update WsdlToPhpStructValue::getCleanName() method according to the new behaviour of WsdlToPhpModel::getCleanName() method. Update WsdlToPhpStructValue::getDeclaration() to remove useless parameters passed to the WsdlToPhpStructValue::getCleanName() method call. Update WsdlToPhpStructValue php doc comment. Update WsdlToPhpService php doc comment.
- Loading branch information...
Showing with 135 additions and 97 deletions.
Oops, something went wrong.