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

Implement accessors without instantiating #14

Closed
11 tasks done
asgrim opened this issue Jul 2, 2015 · 9 comments
Closed
11 tasks done

Implement accessors without instantiating #14

asgrim opened this issue Jul 2, 2015 · 9 comments

Comments

@asgrim
Copy link
Member

asgrim commented Jul 2, 2015

Comment from @Ocramius (see here)

You can create an accessor even without the instance of the object or internal reflection.

See http://ocramius.github.io/blog/accessing-private-php-class-members-without-reflection/

This would mean we could support the following methods:

@asgrim
Copy link
Member Author

asgrim commented Jul 2, 2015

Related to #7

@asgrim
Copy link
Member Author

asgrim commented Apr 18, 2016

Some currently-failing .phpt tests for invoke, setAccessible, and setValue can be found: https://gist.github.com/asgrim/4cd0d4ca9f7165754419458ffbfec467

@asgrim asgrim removed this from the 1.1.0 milestone Jul 3, 2016
@kukulich
Copy link
Collaborator

kukulich commented Sep 1, 2017

Some accessors implemented in #343

@kukulich
Copy link
Collaborator

kukulich commented Sep 2, 2017

@Ocramius Could you please check methods in the description that are done now?

@Ocramius
Copy link
Member

Ocramius commented Sep 2, 2017

@kukulich done

@kukulich
Copy link
Collaborator

kukulich commented Sep 4, 2017

ReflectionMethod::getClosure() implemented in #354

@kukulich
Copy link
Collaborator

kukulich commented Sep 4, 2017

ReflectionMethod::invoke(), ReflectionMethod::invokeArgs() and ReflectionMethod::setAccessible() implemented in #355

@kukulich
Copy link
Collaborator

kukulich commented Sep 5, 2017

ReflectionFunction::invoke(), ReflectionFunction::invokeArgs() and ReflectionFunction::getClosure() implemented in #357

@Ocramius Ocramius added this to the 2.0.0 milestone Sep 5, 2017
@Ocramius Ocramius self-assigned this Sep 5, 2017
@Ocramius
Copy link
Member

Ocramius commented Sep 5, 2017

Shipped! Thanks for the hard work, @kukulich!

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

No branches or pull requests

3 participants