Skip to content

Commit 9864491

Browse files
committed
update readme
1 parent ca6ee0f commit 9864491

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

readme.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -85,16 +85,9 @@ require __DIR__.'/vendor/autoload.php'
8585
$debug = new \bdk\Debug(array(
8686
'collect' => true,
8787
));
88-
$wampPublisher = new \bdk\WampPublisher(array(
89-
'realm'=>'debug'
90-
));
91-
$outputWamp = new \bdk\Debug\Output\Wamp($debug, $wampPublisher); // see note below
92-
$debug->addPlugin($outputWamp); // or $debug->setCfg('outputAs', $outputWamp); to prevent the default in-page html output
88+
$debug->addPlugin($debug->routeWamp); // or $debug->setCfg('route', 'wamp'); to only output via the wamp plugin
9389
```
9490

95-
\* The wamp-plugin classname changed in PHPDebugConsole v2.1.
96-
If you're using pre-2.1 use: `new \bdk\Debug\OutputWamp($debug, $wampPublisher);`
97-
9891
----
9992
#### Everything's setup and ready
10093

0 commit comments

Comments
 (0)