public function tick() { if (strlen($this->sendLaterMessagesBuffer) > 0) { $this->writeOnStream(); } }