original_string: public function routes()
      {
          Route::get('countries/{id}', function ($id) {
              $request = request();
              return CountryStore::country($id, $request);
          })->name('country');
  
          Route::get('countries', function () {
              $request = request();
              return CountryStore::countries($request);
          })->name('countries');
  
          Route::get('administrative_areas/{id}', function ($id) {
              $request = request();
              return CountryStore::administrativeArea($id, $request);
          })->name('administrative_area');
  
          Route::get('cities/{city_id}', function ($city_id) {
                  $request = request();
                  return CountryStore::city($city_id, $request);
          })->name('city');
      }
code: public function routes()
      {
          Route::get('countries/{id}', function ($id) {
              $request = request();
              return CountryStore::country($id, $request);
          })->name('country');
  
          Route::get('countries', function () {
              $request = request();
              return CountryStore::countries($request);
          })->name('countries');
  
          Route::get('administrative_areas/{id}', function ($id) {
              $request = request();
              return CountryStore::administrativeArea($id, $request);
          })->name('administrative_area');
  
          Route::get('cities/{city_id}', function ($city_id) {
                  $request = request();
                  return CountryStore::city($city_id, $request);
          })->name('city');
      }
code_tokens: public function routes ( ) { Route :: get ( 'countries/{id}' , function ( $ id ) { $ request = request ( ) ; return CountryStore :: country ( $ id , $ request ) ; } ) -> name ( 'country' ) ; Route :: get ( 'countries' , function ( ) { $ request = request ( ) ; return CountryStore :: countries ( $ request ) ; } ) -> name ( 'countries' ) ; Route :: get ( 'administrative_areas/{id}' , function ( $ id ) { $ request = request ( ) ; return CountryStore :: administrativeArea ( $ id , $ request ) ; } ) -> name ( 'administrative_area' ) ; Route :: get ( 'cities/{city_id}' , function ( $ city_id ) { $ request = request ( ) ; return CountryStore :: city ( $ city_id , $ request ) ; } ) -> name ( 'city' ) ; }
docstring: Set routes for country API
  
  @return void
docstring_tokens: Set routes for country API