Merge branch 'doc-test'

This commit is contained in:
Chris Boden 2017-04-19 16:57:27 -04:00
commit f71676f08f
2 changed files with 5 additions and 2 deletions

View File

@ -86,5 +86,5 @@ class MyChat implements MessageComponentInterface {
// Then some JavaScript in the browser:
var conn = new WebSocket('ws://localhost:8080/echo');
conn.onmessage = function(e) { console.log(e.data); };
conn.send('Hello Me!');
conn.onopen = function(e) { conn.send('Hello Me!'); };
```

View File

@ -29,4 +29,7 @@
, "symfony/http-foundation": "^2.2|^3.0"
, "symfony/routing": "^2.2|^3.0"
}
, "require-dev": {
"phpunit/phpunit": "~4.8"
}
}