original_string: public function getCountryList($includeInternalCodes = false)
      {
          if ($this->countryList === null) {
              $this->countryList = require __DIR__ . '/../Resources/countries.php';
          }
          if ($this->countryExtraList === null) {
              $this->countryExtraList = require __DIR__ . '/../Resources/countries-extra.php';
          }
  
          if ($includeInternalCodes) {
              return array_merge($this->countryList, $this->countryExtraList);
          }
  
          return $this->countryList;
      }
code: public function getCountryList($includeInternalCodes = false)
      {
          if ($this->countryList === null) {
              $this->countryList = require __DIR__ . '/../Resources/countries.php';
          }
          if ($this->countryExtraList === null) {
              $this->countryExtraList = require __DIR__ . '/../Resources/countries-extra.php';
          }
  
          if ($includeInternalCodes) {
              return array_merge($this->countryList, $this->countryExtraList);
          }
  
          return $this->countryList;
      }
code_tokens: public function getCountryList ( $ includeInternalCodes = false ) { if ( $ this -> countryList === null ) { $ this -> countryList = require __DIR__ . '/../Resources/countries.php' ; } if ( $ this -> countryExtraList === null ) { $ this -> countryExtraList = require __DIR__ . '/../Resources/countries-extra.php' ; } if ( $ includeInternalCodes ) { return array_merge ( $ this -> countryList , $ this -> countryExtraList ) ; } return $ this -> countryList ; }
docstring: Returns the list of valid country codes.
  
  @param bool $includeInternalCodes
  @return string[] Array of 2 letter country ISO codes => 3 letter continent code
  @api
docstring_tokens: Returns the list of valid country codes .