Skip to content
This repository has been archived by the owner on Oct 23, 2019. It is now read-only.

anon functions inside class need $this passed by default #31

Open
robertleeplummerjr opened this issue May 29, 2014 · 1 comment
Open
Labels

Comments

@robertleeplummerjr
Copy link
Contributor

As does in php.

@robertleeplummerjr
Copy link
Contributor Author

I did work around this by simply creating a var outside the scope called $that, and passed it through using(). As far as I'm concerned, this is a good as closed as well.

@jakubmisek jakubmisek added the bug label Jul 9, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants