Skip to content

Conversation

@jwalton512
Copy link
Contributor

Sending commands through a pipeline will allow for easier decoration of the command bus. Additional dispatchers can be used as pipes and can independently handle resolving handlers and firing handle method.

Sending commands through a pipeline will allow for easier decoration of the command bus.  Additional dispatchers can be used as pipes and can independently handle resolving handlers and firing handle method.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Don't allow this. Always require the injected object.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thanks @GrahamCampbell -- I will make all the necessary changes. I was just really putting this out there as a feeler to see if this would be something other users might be interested in.

@jwalton512
Copy link
Contributor Author

@GrahamCampbell thanks, made recommended changes

Copy link
Collaborator

Choose a reason for hiding this comment

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

null isn't correct

@jwalton512
Copy link
Contributor Author

more updates, per @GrahamCampbell

@acasar
Copy link
Contributor

acasar commented Jan 29, 2015

👍 I love it!

@GrahamCampbell
Copy link
Collaborator

Please squash to one commit.

@GrahamCampbell GrahamCampbell changed the title [Proposal] [5.0] - Dispatch commands through a pipeline [5.0] Dispatch commands through a pipeline Jan 29, 2015
@taylorotwell
Copy link
Member

Did this a little differently.

$dispatcher->pipeThrough(['Foo', 'Bar']);

^ In BusServiceProvider

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.

4 participants