0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-09-16 19:15:17 +00:00

document how to uninstall a filter

This commit is contained in:
Stefan Siegl 2022-06-24 13:17:10 +02:00
parent bf51bf52a9
commit dcb583267a

View File

@ -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)
{}
/**