Files
yii2/tests/framework/base/BCObject.php
Robert Korulczyk b99e955627 Fix CS (#14665)
* Run php-cs-fixer.

* Enable phpdoc_types rule.
2017-08-18 12:10:42 +02:00

26 lines
465 B
PHP

<?php
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://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;
}
}