We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf51bf5 commit dcb5832Copy full SHA for dcb5832
README.md
@@ -107,10 +107,10 @@ class V8Js
107
/**
108
* Provate a function or method to be used to convert/proxy PHP exceptions to JS.
109
* This can be any valid PHP callable.
110
- * The factory function will receive the PHP Exception instance that has not been caught and is
111
- * due to be forwarded to JS.
+ * The converter function will receive the PHP Exception instance that has not been caught and
+ * is due to be forwarded to JS. Pass NULL as $filter to uninstall an existing filter.
112
*/
113
- public function setExceptionFilter(callable $factory)
+ public function setExceptionFilter(callable $filter)
114
{}
115
116
0 commit comments