芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/airport-back/vendor/yiisoft/yii2/test/DbFixture.php
* @since 2.0 */ abstract class DbFixture extends Fixture { /** * @var Connection|array|string the DB connection object or the application component ID of the DB connection. * After the DbFixture object is created, if you want to change this property, you should only assign it * with a DB connection object. * Starting from version 2.0.2, this can also be a configuration array for creating the object. */ public $db = 'db'; /** * {@inheritdoc} */ public function init() { parent::init(); $this->db = Instance::ensure($this->db, BaseObject::className()); } }