Skip to content

Commit

Permalink
增加 扩展阻止下级消息传播
Browse files Browse the repository at this point in the history
  • Loading branch information
Hanson committed Jul 7, 2017
1 parent 57af778 commit b882191
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Extension/MessageExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ private function initBaseExtensions()
public function exec($collection)
{
foreach ($this->serviceExtensions as $extension) {
$extension->messageHandler($collection);
if ($extension->messageHandler($collection)) {
return;
}
}
}

Expand Down

0 comments on commit b882191

Please sign in to comment.