lemmingzshadow/php-websocket — pull request #4 by dominics (2012-06-05 11:50:42+00:00)
Title: Mark clients and applications as protected

It's very useful for subclasses of `WebSocket\Server` to have access to the whole array of `$this->clients` and `$this->applications`.

If you'd rather not open up the protected API this much, I'd be willing to consider implementing other alternatives, such as returning iterators or the arrays through an accessor method.

For background: I'm working on integrating php-websocket into Symfony2's Service Container, and I'd like to be able to do convenience methods in my injected Server subclass.