添加方法声明注释

This commit is contained in:
thinkphp
2017-01-22 18:04:36 +08:00
parent e2e217f1d6
commit d96ec0c350

View File

@@ -17,6 +17,13 @@ use think\Loader;
use think\Model;
use think\model\Relation;
/**
* Class OneToOne
* @package think\model\relation
* @method void eagerlySete($resultSet, $relation, $subRelation, $closure) 预载入关联查询(数据集)
* @method void eagerlyOne($result, $relation, $subRelation, $closure) 预载入关联查询(数据)
*
*/
abstract class OneToOne extends Relation
{
// 预载入方式 0 -JOIN 1 -IN