mirror of
https://github.com/yiisoft/yii2.git
synced 2026-03-05 06:54:39 +01:00
30 lines
705 B
PHP
30 lines
705 B
PHP
<?php
|
|
|
|
/**
|
|
* @link https://www.yiiframework.com/
|
|
* @copyright Copyright (c) 2008 Yii Software LLC
|
|
* @license https://www.yiiframework.com/license/
|
|
*/
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace yiiunit\data\console\controllers\fixtures;
|
|
|
|
use yii\test\ActiveFixture;
|
|
|
|
class DependentActiveFixture extends ActiveFixture
|
|
{
|
|
public $modelClass = 'yiiunit\data\ar\Customer';
|
|
|
|
public $depends = [
|
|
'yiiunit\data\console\controllers\fixtures\FirstIndependentActiveFixture',
|
|
'yiiunit\data\console\controllers\fixtures\SecondIndependentActiveFixture',
|
|
];
|
|
|
|
public function load(): void
|
|
{
|
|
FixtureStorage::$activeFixtureSequence[] = self::class;
|
|
parent::load();
|
|
}
|
|
}
|