This commit is contained in:
Simon Vieille 2018-02-14 12:53:06 +01:00
parent 2f73bd0b59
commit 55cc89ab8c
No known key found for this signature in database
GPG key ID: 919533E2B946EA10

View file

@ -59,7 +59,7 @@ class Server implements MessageComponentInterface
public function onOpen(ConnectionInterface $conn)
{
$this->clients->attach($conn);
$this->output->writeln('New client');
$this->output->writeln('New connection');
}
/**
@ -99,6 +99,7 @@ class Server implements MessageComponentInterface
public function onClose(ConnectionInterface $conn)
{
$this->clients->detach($conn);
$this->output->writeln('Connection closed');
}
/**