custom/plugins/AcrisShopSwitchCS/src/Resources/GeoIp2/vendor/geoip2/geoip2/src/Record/Continent.php line 25

Open in your IDE?
  1. <?php
  2. namespace GeoIp2\Record;
  3. /**
  4.  * Contains data for the continent record associated with an IP address
  5.  *
  6.  * This record is returned by all location services and databases.
  7.  *
  8.  * @property-read string|null $code A two character continent code like "NA" (North
  9.  * America) or "OC" (Oceania). This attribute is returned by all location
  10.  * services and databases.
  11.  *
  12.  * @property-read int|null $geonameId The GeoName ID for the continent. This
  13.  * attribute is returned by all location services and databases.
  14.  *
  15.  * @property-read string|null $name Returns the name of the continent based on the
  16.  * locales list passed to the constructor. This attribute is returned by all location
  17.  * services and databases.
  18.  *
  19.  * @property-read array|null $names An array map where the keys are locale codes
  20.  * and the values are names. This attribute is returned by all location
  21.  * services and databases.
  22.  */
  23. class Continent extends AbstractPlaceRecord
  24. {
  25.     /**
  26.      * @ignore
  27.      */
  28.     protected $validAttributes = array(
  29.         'code',
  30.         'geonameId',
  31.         'names'
  32.     );
  33. }