In the umpleonline simulator, display the type of the available arguments to methods #21
Labels
Component-UmpleOnline
Related to the UmpleOnline website
Priority-Low
This problem is likely to have low impact or to relate to a rarely used detail or edge case
simulator
Status-Accepted
Type-Defect
Usability
Originally reported on Google Code with ID 64
Currently the arguments are named, but the user of the simulator can't readily tell
what type they are.
getName() is being used successfully to get the name of the parameter.
I expected to be able to use getType(), which returns a ReflectionClass object, and
then getName() to get the parameter type. But this fails with error:
Fatal error: Call to a member function getName() on a non-object.
As an alternative, I tried using PHP's gettype(), is_object() and get_class(), but
this always returns "ReflectionParameter".
Anyone have other ideas?
Reported by @umple on 2011-06-23 21:18:24
The text was updated successfully, but these errors were encountered: