/** * @return \yii\db\ActiveQuery */ public function getBloggers() { return $this->hasMany(Blogger::className(), ['author' => 'id']); }