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

update handle command strategy #71

Merged
merged 3 commits into from
Sep 29, 2015

Conversation

prolic
Copy link
Member

@prolic prolic commented Sep 29, 2015

No description provided.

@@ -36,6 +40,22 @@ public function canInvoke($handler, $message)
*/
public function invoke($handler, $message)
{
$handler->handle($message);
$handleMethod = 'on' . $this->determineCommandName($message);
Copy link
Member

Choose a reason for hiding this comment

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

on or handle? On is already used for events and in general often used in event contexts.

@codeliner
Copy link
Member

👍

codeliner added a commit that referenced this pull request Sep 29, 2015
@codeliner codeliner merged commit 910bd0a into prooph:develop Sep 29, 2015
@prolic prolic deleted the handle_command_strategy branch September 29, 2015 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants