/** * @return \yii\db\ActiveQuery */ public function getSubscriber() { return $this->hasOne(Subscriber::className(), ['id' => 'subscriber_id']); }