summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/value.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/include/value.h b/include/value.h
index 5bfb94d..e080df7 100644
--- a/include/value.h
+++ b/include/value.h
@@ -979,9 +979,20 @@ public:
}
/**
+ * Is a method with the given name callable?
+ *
+ * This is only applicable when the Value contains a PHP object
+ *
+ * @param name Name of the function
+ * @return boolean
+ */
+ bool isCallable(const char *name);
+
+ /**
* Call a method
- * We have ten variants of this function, depending on the number of parameters
- * This is only applicable when the Value contains PHP object
+ *
+ * This is only applicable when the Value contains a PHP object
+ *
* @param name Name of the function
* @return Value
*/