mirror of
https://github.com/phpv8/v8js.git
synced 2024-12-22 14:01:53 +00:00
document how to uninstall a filter
This commit is contained in:
parent
bf51bf52a9
commit
dcb583267a
@ -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)
|
||||
{}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user