Yii2 hasOne vs hasMany param order

hasOne() * * public function getCountry() * { * return $this->hasOne(Country::className(), ['id' => 'country_id']); * } * hasMany() * * public function getOrders() * {…