mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-10-31 18:47:33 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			481 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			481 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| /**
 | |
|  * @link https://www.yiiframework.com/
 | |
|  * @copyright Copyright (c) 2008 Yii Software LLC
 | |
|  * @license https://www.yiiframework.com/license/
 | |
|  */
 | |
| 
 | |
| namespace yii\helpers;
 | |
| 
 | |
| /**
 | |
|  * Class IpHelper provides a set of IP-related static methods.
 | |
|  *
 | |
|  * Methods expect correct IP addresses.
 | |
|  * To validate IP addresses use [[\yii\validators\IpValidator|IpValidator]].
 | |
|  *
 | |
|  * @author Dmytro Naumenko <d.naumenko.a@gmail.com>
 | |
|  * @since 2.0.14
 | |
|  */
 | |
| class IpHelper extends BaseIpHelper
 | |
| {
 | |
| }
 |