40 lines
		
	
	
		
			695 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
		
			695 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?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 = [];
 | |
| }
 | 
