Commit 42a58870 by Qiang Xue

moved db interfaces and traits back to yii/db.

parent 3106105e
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
namespace yii\data; namespace yii\data;
use Yii; use Yii;
use yii\ar\ActiveQueryInterface; use yii\db\ActiveQueryInterface;
use yii\base\InvalidConfigException; use yii\base\InvalidConfigException;
use yii\base\Model; use yii\base\Model;
use yii\db\Connection; use yii\db\Connection;
......
...@@ -7,8 +7,6 @@ ...@@ -7,8 +7,6 @@
*/ */
namespace yii\db; namespace yii\db;
use yii\ar\ActiveQueryInterface;
use yii\ar\ActiveQueryTrait;
/** /**
* ActiveQuery represents a DB query associated with an Active Record class. * ActiveQuery represents a DB query associated with an Active Record class.
......
...@@ -5,8 +5,7 @@ ...@@ -5,8 +5,7 @@
* @license http://www.yiiframework.com/license/ * @license http://www.yiiframework.com/license/
*/ */
namespace yii\ar; namespace yii\db;
use yii\db\QueryInterface;
/** /**
* ActiveQueryInterface defines the common interface to be implemented by active record query classes. * ActiveQueryInterface defines the common interface to be implemented by active record query classes.
......
...@@ -5,9 +5,7 @@ ...@@ -5,9 +5,7 @@
* @license http://www.yiiframework.com/license/ * @license http://www.yiiframework.com/license/
*/ */
namespace yii\ar; namespace yii\db;
use yii\db\ActiveRecord;
/** /**
* ActiveQueryTrait implements the common methods and properties for active record query classes. * ActiveQueryTrait implements the common methods and properties for active record query classes.
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
namespace yii\db; namespace yii\db;
use yii\ar\ActiveRelationInterface;
use yii\base\InvalidConfigException; use yii\base\InvalidConfigException;
use yii\base\Model; use yii\base\Model;
use yii\base\InvalidParamException; use yii\base\InvalidParamException;
......
...@@ -7,8 +7,6 @@ ...@@ -7,8 +7,6 @@
*/ */
namespace yii\db; namespace yii\db;
use yii\ar\ActiveRelationInterface;
use yii\ar\ActiveRelationTrait;
/** /**
* ActiveRelation represents a relation between two Active Record classes. * ActiveRelation represents a relation between two Active Record classes.
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
* @license http://www.yiiframework.com/license/ * @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. * ActiveRelationInterface defines the common interface to be implemented by active record relation classes.
......
...@@ -5,10 +5,9 @@ ...@@ -5,10 +5,9 @@
* @license http://www.yiiframework.com/license/ * @license http://www.yiiframework.com/license/
*/ */
namespace yii\ar; namespace yii\db;
use yii\base\InvalidConfigException; use yii\base\InvalidConfigException;
use yii\db\ActiveRecord;
/** /**
* ActiveRelationTrait implements the common methods and properties for active record relation classes. * ActiveRelationTrait implements the common methods and properties for active record relation classes.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment