mirror of
https://github.com/yiisoft/yii2.git
synced 2025-12-11 00:06:17 +08:00
moved db interfaces and traits back to yii/db.
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
namespace yii\data;
|
||||
|
||||
use Yii;
|
||||
use yii\ar\ActiveQueryInterface;
|
||||
use yii\db\ActiveQueryInterface;
|
||||
use yii\base\InvalidConfigException;
|
||||
use yii\base\Model;
|
||||
use yii\db\Connection;
|
||||
|
||||
@@ -7,8 +7,6 @@
|
||||
*/
|
||||
|
||||
namespace yii\db;
|
||||
use yii\ar\ActiveQueryInterface;
|
||||
use yii\ar\ActiveQueryTrait;
|
||||
|
||||
/**
|
||||
* ActiveQuery represents a DB query associated with an Active Record class.
|
||||
|
||||
@@ -5,8 +5,7 @@
|
||||
* @license http://www.yiiframework.com/license/
|
||||
*/
|
||||
|
||||
namespace yii\ar;
|
||||
use yii\db\QueryInterface;
|
||||
namespace yii\db;
|
||||
|
||||
/**
|
||||
* ActiveQueryInterface defines the common interface to be implemented by active record query classes.
|
||||
@@ -5,9 +5,7 @@
|
||||
* @license http://www.yiiframework.com/license/
|
||||
*/
|
||||
|
||||
namespace yii\ar;
|
||||
|
||||
use yii\db\ActiveRecord;
|
||||
namespace yii\db;
|
||||
|
||||
/**
|
||||
* ActiveQueryTrait implements the common methods and properties for active record query classes.
|
||||
@@ -8,7 +8,6 @@
|
||||
|
||||
namespace yii\db;
|
||||
|
||||
use yii\ar\ActiveRelationInterface;
|
||||
use yii\base\InvalidConfigException;
|
||||
use yii\base\Model;
|
||||
use yii\base\InvalidParamException;
|
||||
|
||||
@@ -7,8 +7,6 @@
|
||||
*/
|
||||
|
||||
namespace yii\db;
|
||||
use yii\ar\ActiveRelationInterface;
|
||||
use yii\ar\ActiveRelationTrait;
|
||||
|
||||
/**
|
||||
* ActiveRelation represents a relation between two Active Record classes.
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* @license http://www.yiiframework.com/license/
|
||||
*/
|
||||
|
||||
namespace yii\ar;
|
||||
namespace yii\db;
|
||||
|
||||
/**
|
||||
* ActiveRelationInterface defines the common interface to be implemented by active record relation classes.
|
||||
@@ -5,10 +5,9 @@
|
||||
* @license http://www.yiiframework.com/license/
|
||||
*/
|
||||
|
||||
namespace yii\ar;
|
||||
namespace yii\db;
|
||||
|
||||
use yii\base\InvalidConfigException;
|
||||
use yii\db\ActiveRecord;
|
||||
|
||||
/**
|
||||
* ActiveRelationTrait implements the common methods and properties for active record relation classes.
|
||||
Reference in New Issue
Block a user