Skip to content
New issue

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

replace method_exists per is_callable #57

Closed
sneznaovca opened this issue Oct 27, 2014 · 5 comments
Closed

replace method_exists per is_callable #57

sneznaovca opened this issue Oct 27, 2014 · 5 comments

Comments

@sneznaovca
Copy link
Contributor

What do you think about replace method_exists per is_callable?
https://github.com/Kdyby/Events/blob/master/src/Kdyby/Events/EventManager.php#L194

http://cz1.php.net/manual/en/function.method-exists.php see notes
is_callable allows use __call

@fprochazka
Copy link
Member

@sneznaovca you want to create dynamic listeners? :)

@sneznaovca
Copy link
Contributor Author

@fprochazka yes

@matej21
Copy link
Contributor

matej21 commented Oct 27, 2014

👍

@fprochazka
Copy link
Member

@sneznaovca I don't see a reason to prohibit that. Can you send a pullrequest, ideally with a testcase please?

@fprochazka
Copy link
Member

Solved with 69806d1...b6fc86b

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

No branches or pull requests

3 participants