فهرست منبع

document how to uninstall a filter

Stefan Siegl 2 سال پیش
والد
کامیت
dcb583267a
1فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 3 3
      README.md

+ 3 - 3
README.md

@@ -107,10 +107,10 @@ class V8Js
     /**
      * Provate a function or method to be used to convert/proxy PHP exceptions to JS.
      * This can be any valid PHP callable.
-     * The factory function will receive the PHP Exception instance that has not been caught and is
-     * 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.
      */
-    public function setExceptionFilter(callable $factory)
+    public function setExceptionFilter(callable $filter)
     {}
 
     /**