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