mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-15 14:50:56 +08:00
26 lines
466 B
PHP
26 lines
466 B
PHP
<?php
|
|
/**
|
|
* @link http://www.yiiframework.com/
|
|
* @copyright Copyright (c) 2008 Yii Software LLC
|
|
* @license http://www.yiiframework.com/license/
|
|
*/
|
|
|
|
namespace yiiunit\framework\di\stubs;
|
|
|
|
use yii\base\BaseObject;
|
|
|
|
/**
|
|
* @author Qiang Xue <qiang.xue@gmail.com>
|
|
* @since 2.0
|
|
*/
|
|
class Foo extends BaseObject
|
|
{
|
|
public $bar;
|
|
|
|
public function __construct(Bar $bar, $config = [])
|
|
{
|
|
$this->bar = $bar;
|
|
parent::__construct($config);
|
|
}
|
|
}
|