summaryrefslogtreecommitdiff
path: root/include/value.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/value.h')
-rw-r--r--include/value.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/value.h b/include/value.h
index 532d0c1..5b746a1 100644
--- a/include/value.h
+++ b/include/value.h
@@ -33,6 +33,7 @@ namespace Php {
*/
class Base;
class ValueIterator;
+class Parameters;
template <class Type> class HashMember;
/**
@@ -1209,6 +1210,11 @@ protected:
friend class Callable;
friend class Script;
friend class ConstantImpl;
+
+ /**
+ * Friend functions which have to access that zval directly
+ */
+ friend Value set_exception_handler(const std::function<Value(Parameters &params)> &handler);
};
/**