protected static function createClient(array $options = [], array $server = []) { static::bootKernel($options); $client = new Client(static::$kernel); $client->setServerParameters($server); return $client; }