Example #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getRuleName()
 {
     return $this->hasOne(AuthRule::className(), ['name' => 'rule_name']);
 }