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