data_center/vendor/symfony/http-client/Internal/DnsCache.php

40 lines
695 B
PHP
Raw Normal View History

2023-09-18 09:11:13 +08:00
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\HttpClient\Internal;
/**
* Cache for resolved DNS queries.
*
* @author Alexander M. Turek <me@derrabus.de>
*
* @internal
*/
final class DnsCache
{
/**
* Resolved hostnames (hostname => IP address).
*
* @var string[]
*/
public array $hostnames = [];
/**
* @var string[]
*/
public array $removals = [];
/**
* @var string[]
*/
public array $evictions = [];
}