Browse Source

Fixes #4945: Added `yii\test\ArrayFixture`

tags/2.0.0-rc
Qiang Xue 10 years ago
parent
commit
377cb09aa8
  1. 1
      framework/CHANGELOG.md
  2. 4
      framework/test/ArrayFixture.php

1
framework/CHANGELOG.md

@ -271,6 +271,7 @@ Yii Framework 2 Change Log
- Chg: When an ID is found to be in both `Application::controllerMap` and `Application::modules`, the former will take precedence (qiangxue)
- New #3911: Added `yii\behaviors\SluggableBehavior` that fills the specified model attribute with the transliterated and adjusted version to use in URLs (creocoder)
- New #4193: Added `yii\filters\Cors` CORS filter to allow Cross Origin Resource Sharing (pgaultier)
- New #4945: Added `yii\test\ArrayFixture` (Ragazzo)
- New: Added `yii\base\InvalidValueException` (qiangxue)
- New: Added `yii\caching\ArrayCache` (cebe)

4
framework/test/ArrayFixture.php

@ -9,10 +9,10 @@ namespace yii\test;
use Yii;
use yii\base\ArrayAccessTrait;
use yii\base\InvalidParamException;
use yii\base\InvalidConfigException;
/**
* Base array fixture class, that supports loading data from data files.
* ArrayFixture represents arbitrary fixture that can be loaded from PHP files.
*
* @author Mark Jebri <mark.github@yandex.ru>
* @since 2.0

Loading…
Cancel
Save