public function __construct(Application $app) { $this->application = $app; $this->console = $app->getConsole(); $this->clients = []; $this->reader = new Stream\Reader($app->getProtocol()); }