Grpc\ChannelCredentials::createSsl( file_get_contents(dirname(__FILE__).'/../data/ca.pem')), 'grpc.ssl_target_name_override' => 'foo.test.google.fr', 'update_metadata' => function ($a_hash, $client = []) { $a_copy = $a_hash; $a_copy['foo'] = ['bar']; return $a_copy; }, ]); } public function tearDown(): void { self::$client->close(); } }