Example #1
0
 protected static function createClient()
 {
     $config = static::getConfig();
     $client = new Client();
     $client->configure(['username' => $config['username'], 'password' => $config['password'], 'hostname' => $config['host'], 'port' => $config['port']]);
     return $client;
 }