Hook PHP objects magic calls #2
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sciactive/hookphp#2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.I haven't, but yeah, I could definitely do that.
Didn't mean to close that.
Cool, looking forward for it.
I've added the ability to hook
jsonSerialize.