Skip to content

Conversation

camflint
Copy link

@camflint camflint commented Apr 8, 2014

Allows an arbitrary callback to be invoked prior to the real method executing.

I added this out of a desire to log a custom message when the method is invoked, instead of the default behavior of $duml. I could envision it being used for other things, so I'm submitting it here.

* allows an arbitrary callback to be invoked prior to the real method
executing.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since we're streamlining the functions into one, let's just do function replacement

@amasad
Copy link
Owner

amasad commented Apr 18, 2014

this looks good, just couple of comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants