From 131b4f964dff675448f46bec34ce0f4025fa6e01 Mon Sep 17 00:00:00 2001 From: Vagner do Carmo Date: Sat, 9 May 2015 05:23:04 -0300 Subject: [PATCH] Refactoring With Contracts --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 07cdada..2c130c9 100644 --- a/README.md +++ b/README.md @@ -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