Skip to content

Commit

Permalink
Refactoring With Contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
vluzrmos committed May 9, 2015
1 parent 131b4f9 commit a1d8664
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ $app->get('/publish', function() {
public function publishSomethingAwesome(\Vluzrmos\Socketio\Contracts\Broadcast $broadcast){
$broadcast->publish('channel', 'awesome-event', 'An message');

// or just use the helper without inject \Vluzrmos\Socketio\Broadcast
// or just use the helper without inject \Vluzrmos\Socketio\Contracts\Broadcast

publish('channel', 'awesome-event', 'An message');
}
Expand Down

0 comments on commit a1d8664

Please sign in to comment.