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

Enhancement: Closure body code dump #19

Closed
dmachehin opened this issue Sep 30, 2015 · 1 comment
Closed

Enhancement: Closure body code dump #19

dmachehin opened this issue Sep 30, 2015 · 1 comment

Comments

@dmachehin
Copy link

If i'm used Method::from(function($entity, $value){ echo 123; })
It is return only: function ($entity, $value) { } without body code

@JanTvrdik
Copy link
Contributor

That is feature. It is a) impossible to get body from Closure b) expected, Method::from never fills body, only method signature.

@dg dg closed this as completed Sep 30, 2015
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