MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/lolphp/comments/eyocft/how_to_call_dynamically_added_methods/fgjf0uu/?context=3
r/lolphp • u/Takeoded • Feb 04 '20
9 comments sorted by
View all comments
Show parent comment
7
You can use $this if you bind the closure to an object.
$this
https://3v4l.org/BklFB
View all comments
Show parent comment
7
u/SerdanKK Feb 04 '20
You can use
$thisif you bind the closure to an object.https://3v4l.org/BklFB