We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
Have you thought to allow to hook magic calls too? For example
\SciActive\Hook::addCallback('Test->__toString', -2, function(&$arguments, $name, &$object, &$function, &$data){ });
Would be triggered by print($obj);. Same for constructor, setters and getters, etc.
print($obj);
The text was updated successfully, but these errors were encountered:
I haven't, but yeah, I could definitely do that.
Sorry, something went wrong.
Didn't mean to close that.
Cool, looking forward for it.
I've added the ability to hook jsonSerialize.
jsonSerialize
hperrin
No branches or pull requests
Hello,
Have you thought to allow to hook magic calls too? For example
Would be triggered by
print($obj);
. Same for constructor, setters and getters, etc.The text was updated successfully, but these errors were encountered: