mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-11-04 06:37:55 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			25 lines
		
	
	
		
			455 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			455 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
/**
 | 
						|
 * @link http://www.yiiframework.com/
 | 
						|
 * @copyright Copyright (c) 2008 Yii Software LLC
 | 
						|
 * @license http://www.yiiframework.com/license/
 | 
						|
 */
 | 
						|
 | 
						|
namespace yiiunit\framework\helpers;
 | 
						|
 | 
						|
use yii\helpers\BaseInflector;
 | 
						|
 | 
						|
/**
 | 
						|
 * Forces Inflector::slug to use PHP even if intl is available.
 | 
						|
 */
 | 
						|
class FallbackInflector extends BaseInflector
 | 
						|
{
 | 
						|
    /**
 | 
						|
     * {@inheritdoc}
 | 
						|
     */
 | 
						|
    protected static function hasIntl()
 | 
						|
    {
 | 
						|
        return false;
 | 
						|
    }
 | 
						|
}
 |