Commit 42a58870 by Qiang Xue

moved db interfaces and traits back to yii/db.

parent 3106105e
......@@ -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.
......
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