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