Exemplo n.º 1
0
 public static function setUpBeforeClass()
 {
     if (!getenv('QUASSEL_HOST')) {
         return;
     }
     self::$host = getenv('QUASSEL_HOST');
     self::$username = getenv('QUASSEL_USER');
     if (!self::$username) {
         self::$username = '******';
     }
     self::$password = getenv('QUASSEL_PASS');
     if (!self::$password) {
         self::$password = '******';
     }
     self::$loop = LoopFactory::create();
 }
Exemplo n.º 2
0
 public static function setUpBeforeClass()
 {
     self::$address = getenv('LOGIN');
     self::$loop = React\EventLoop\Factory::create();
 }