-
Notifications
You must be signed in to change notification settings - Fork 8
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
base: master
Are you sure you want to change the base?
Conversation
Is it ready for a review? |
public function __construct(array $dispatchers, array $parameters = []) | ||
{ | ||
$this->setDispatchers($dispatchers); | ||
parent::__construct($parameters); |
There was a problem hiding this comment.
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 :-).
There was a problem hiding this comment.
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...
Yes it is ready for review 😄. |
It must be used to resolve routes on multiple dispatchers at once.
391d787
to
3cdc73d
Compare
Hello, I've just rebased on master. |
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 theClassMethod
implementation).Maybe the tests can be updated when the specific Dispatchers implementation issues are merged.