Example #1
0
 public function write($message)
 {
     try {
         socket_write($this->socket, $message, strlen($message));
     } catch (\Exception $e) {
         \org\rhaco\Log::warn('Interrupted');
     }
 }
Example #2
0
<?php

\org\rhaco\Log::warn('AAA');
\org\rhaco\Log::warn('BBB');