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