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 Aggregate dispatcher. #26

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

Conversation

shulard
Copy link
Contributor

@shulard shulard commented May 31, 2016

Hello,

I've worked on the #14 issue. I've introduced the Aggregate class and added a test suite based on the current lib state (using the ClassMethod implementation).

Maybe the tests can be updated when the specific Dispatchers implementation issues are merged.

@Hywan
Copy link
Member

Hywan commented Jun 6, 2016

Is it ready for a review?

public function __construct(array $dispatchers, array $parameters = [])
{
$this->setDispatchers($dispatchers);
parent::__construct($parameters);
Copy link
Member

Choose a reason for hiding this comment

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

Reverse these two lines. If the constructor override your data, you will have a surprise :-).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Of course yes 😄 ! I've updated the code...

@shulard shulard force-pushed the feature/issue-14 branch from 474b662 to 391d787 Compare June 6, 2016 10:07
@shulard
Copy link
Contributor Author

shulard commented Sep 8, 2016

Yes it is ready for review 😄.

It must be used to resolve routes on multiple dispatchers at once.
@shulard
Copy link
Contributor Author

shulard commented Dec 13, 2016

Hello,

I've just rebased on master.

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

Successfully merging this pull request may close these issues.

2 participants