‘missing’ can be used to test whether a value was specified as an argument to a function.
"existsMethod" seeks methods for the current class, but "hasMethod" seeks methods for the current class and parental classes.
Likewise, "getMethod" and "selectMethod" have respective behaviour with inheritance.
No comments:
Post a Comment