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

Use static list on command handler #105

Merged
merged 2 commits into from
Feb 21, 2021

Conversation

lcobucci
Copy link
Member

This provides a basic command handler that uses a static list of services/methods to find the handler to be called.

The inspiration comes from the changes done for Tactician v2 but we don't need to wait for its release.

More info:

That package is not needed any more because we're going to provide a
simplified implementation of the command handler that uses psr/container
directly.
This provides a basic command handler that uses a static list of
services/methods to find the handler to be called.

The inspiration comes from the changes done for Tactician v2 but we
don't need to wait for its release.

More info:
- https://github.com/thephpleague/tactician/blob/master/src/Handler/CommandHandlerMiddleware.php
- https://github.com/thephpleague/tactician/blob/master/src/Handler/Mapping/MapByStaticList.php
@lcobucci lcobucci added the New Feature New feature or request label Feb 21, 2021
@lcobucci lcobucci added this to the 0.4.0 milestone Feb 21, 2021
@lcobucci lcobucci self-assigned this Feb 21, 2021
@lcobucci lcobucci merged commit 0134905 into 0.4.x Feb 21, 2021
@lcobucci lcobucci deleted the use-static-list-on-command-handler branch February 21, 2021 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New Feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant