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

Refactor to include ReflectinoClass to support better inheritance model #6

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

rande
Copy link

@rande rande commented Aug 20, 2012

No description provided.

@travisbot
Copy link

This pull request fails (merged d7a8a04 into 9560e84).

@rande
Copy link
Author

rande commented Oct 4, 2012

@schmittjoh this is a WIP, I will now work on the JMSAopBundle

If you have any comments, please go quick, I have a limited time window to contribute to this code!

@schmittjoh
Copy link
Owner

Maybe I'm missing something, but why do we need to duplicate so much code? :)

*
* @return array<MethodInterceptorInterface>
*/
function loadInterceptors(\ReflectionClass $class, \ReflectionMethod $method);
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This function's signature forces to create these codes

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also you don't want BC breaks

@schmittjoh
Copy link
Owner

If you are not sure if it can be simplified more, just leave it as is, and I will take a look at it.

@rande
Copy link
Author

rande commented Oct 4, 2012

you are welcome to simplify this code ;) but without changing method's signatures this is going to be hard.

@schmittjoh schmittjoh closed this Oct 14, 2012
@schmittjoh schmittjoh reopened this Oct 14, 2012
@schmittjoh schmittjoh closed this Oct 14, 2012
@schmittjoh schmittjoh reopened this Oct 14, 2012
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

Successfully merging this pull request may close these issues.

None yet

3 participants