mirror of
https://github.com/yiisoft/yii2.git
synced 2026-03-05 15:04:38 +01:00
27 lines
519 B
PHP
27 lines
519 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\Fixture;
|
|
|
|
class FirstFixture extends Fixture
|
|
{
|
|
public function load(): void
|
|
{
|
|
FixtureStorage::$firstFixtureData[] = 'some data set for first fixture';
|
|
}
|
|
|
|
public function unload(): void
|
|
{
|
|
FixtureStorage::$firstFixtureData = [];
|
|
}
|
|
}
|