/** * Lance la synchronisation */ public function send() { $msg = array('idConnection' => $this->buzzer->getConnectionId(), 'msgType' => 'synchro', 'error' => 0, 'errorMsg' => '', 'timeSend' => microtime(true)); $this->buzzer->send(json_encode($msg)); }