/** * @return country details */ public function getUserContact() { return $this->hasOne(UserContact::className(), ['user_id' => 'id']); }