mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-10-31 18:47:33 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			26 lines
		
	
	
		
			467 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			467 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| /**
 | |
|  * @link https://www.yiiframework.com/
 | |
|  * @copyright Copyright (c) 2008 Yii Software LLC
 | |
|  * @license https://www.yiiframework.com/license/
 | |
|  */
 | |
| 
 | |
| namespace yiiunit\framework\base;
 | |
| 
 | |
| use yii\base\Object;
 | |
| 
 | |
| class BCObject extends \yii\base\Object
 | |
| {
 | |
|     public static $initCalled = false;
 | |
| 
 | |
|     public function __construct($config = [])
 | |
|     {
 | |
|         Object::__construct($config);
 | |
|     }
 | |
| 
 | |
|     public function init()
 | |
|     {
 | |
|         static::$initCalled = true;
 | |
|     }
 | |
| }
 | 
