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 3700207 commit 131b4f9
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 @@ -104,7 +104,7 @@ $app->get('/publish', function() {

//or, in your controller or some else method (using Dependency Injection)

public function publishSomethingAwesome(\Vluzrmos\Socketio\Broadcast $broadcast){
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
Expand Down

0 comments on commit 131b4f9

Please sign in to comment.