Exemplo n.º 1
0
 /**
  * @param ClientInterface $client Client instance used by the context.
  */
 public function __construct(ClientInterface $client)
 {
     $this->callbacks = array();
     $this->pubSubContext = $client->pubSubLoop();
 }