Attribute property: "readOnly" won't convert to const
With StarUML you can create--of course--attributes. Some of them may be constants so there is an option to mark them as such. This property is called readOnly.
Attach the .mdj file
.mdj files are not supported which is why I created two sceenshots.
To Reproduce
Steps to reproduce the behavior:
Create a class diagram
Create a class
Create an attribute
Click on the attribute to configure
Go under "Properties"
Click "isReadOnly" to mark it as a class constant
Go under Tools > PHP and click on "Generate code"
Expected behavior
Code should be generated
The generated attribute should be a class constant variable
Actual behavior
The readOnly property gets ignored and the generated attribute is a normal class variable.
Attribute property: "readOnly" won't convert to const With StarUML you can create--of course--attributes. Some of them may be constants so there is an option to mark them as such. This property is called readOnly.
Attach the .mdj file .mdj files are not supported which is why I created two sceenshots.
To Reproduce Steps to reproduce the behavior:
Expected behavior
Actual behavior
Screenshots