mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
Merge pull request #2962 from githubjeka/patch-1
add @method hasOne|hasMany declaration in yii\db\ActiveRecord.
This commit is contained in:
@ -69,6 +69,9 @@ use yii\helpers\StringHelper;
|
||||
*
|
||||
* For more details and usage information on ActiveRecord, see the [guide article on ActiveRecord][guide-active-record].
|
||||
*
|
||||
* @method ActiveQuery hasMany(string $class, array $link) see BaseActiveRecord::hasMany() for more info
|
||||
* @method ActiveQuery hasOne(string $class, array $link) see BaseActiveRecord::hasOne() for more info
|
||||
*
|
||||
* @author Qiang Xue <qiang.xue@gmail.com>
|
||||
* @author Carsten Brandt <mail@cebe.cc>
|
||||
* @since 2.0
|
||||
|
Reference in New Issue
Block a user