uawdijnntqw1x1x1
IP : 216.73.216.46
Hostname : toronto-dev2
Kernel : Linux toronto-dev2 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
srv
/
users
/
craft4
/
apps
/
craft4-newsite-space
/
.
/
vendor
/
yiisoft
/
yii2
/
.
/
test
/
DbFixture.php
/
/
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yii\test; use yii\base\BaseObject; use yii\db\Connection; use yii\di\Instance; /** * DbFixture is the base class for DB-related fixtures. * * DbFixture provides the [[db]] connection to be used by DB fixtures. * * For more details and usage information on DbFixture, see the [guide article on fixtures](guide:test-fixtures). * * @author Qiang Xue <qiang.xue@gmail.com> * @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()); } }
/srv/users/craft4/apps/craft4-newsite-space/./vendor/yiisoft/yii2/./test/DbFixture.php