Removed mention of embassies

This commit is contained in:
Gregory Oschwald 2014-07-21 07:59:20 -07:00
parent a5fe44c3d3
commit 6cf9b98993
4 changed files with 12 additions and 17 deletions

View File

@ -32,8 +32,8 @@ namespace GeoIp2\Model;
* *
* @property \GeoIp2\Record\RepresentedCountry $representedCountry * @property \GeoIp2\Record\RepresentedCountry $representedCountry
* Represented country data for the requested IP address. The represented * Represented country data for the requested IP address. The represented
* country is used for things like military bases or embassies. It is only * country is used for things like military bases. It is only present when
* present when the represented country differs from the country. * the represented country differs from the country.
* *
* @property array $subdivisions An array of {@link \GeoIp2\Record\Subdivision} * @property array $subdivisions An array of {@link \GeoIp2\Record\Subdivision}
* objects representing the country subdivisions for the requested IP * objects representing the country subdivisions for the requested IP

View File

@ -26,8 +26,8 @@ namespace GeoIp2\Model;
* *
* @property \GeoIp2\Record\RepresentedCountry $representedCountry * @property \GeoIp2\Record\RepresentedCountry $representedCountry
* Represented country data for the requested IP address. The represented * Represented country data for the requested IP address. The represented
* country is used for things like military bases or embassies. It is only * country is used for things like military bases. It is only present when
* present when the represented country differs from the country. * the represented country differs from the country.
* *
* @property \GeoIp2\Record\Traits $traits Data for the traits of the * @property \GeoIp2\Record\Traits $traits Data for the traits of the
* requested IP address. * requested IP address.

View File

@ -32,8 +32,8 @@ namespace GeoIp2\Model;
* *
* @property \GeoIp2\Record\RepresentedCountry $representedCountry * @property \GeoIp2\Record\RepresentedCountry $representedCountry
* Represented country data for the requested IP address. The represented * Represented country data for the requested IP address. The represented
* country is used for things like military bases or embassies. It is only * country is used for things like military bases. It is only present when
* present when the represented country differs from the country. * the represented country differs from the country.
* *
* @property array $subdivisions An array of {@link \GeoIp2\Record\Subdivision} * @property array $subdivisions An array of {@link \GeoIp2\Record\Subdivision}
* objects representing the country subdivisions for the requested IP * objects representing the country subdivisions for the requested IP

View File

@ -7,31 +7,26 @@ namespace GeoIp2\Record;
* *
* This class contains the country-level data associated with an IP address * This class contains the country-level data associated with an IP address
* for the IP's represented country. The represented country is the country * for the IP's represented country. The represented country is the country
* represented by something like a military base or embassy. * represented by something like a military base.
*
* This record is returned by all the end points.
* *
* @property int $confidence A value from 0-100 indicating MaxMind's * @property int $confidence A value from 0-100 indicating MaxMind's
* confidence that the country is correct. This attribute is only available * confidence that the country is correct. This attribute is only available
* from the Insights end point. * from the Insights end point.
* *
* @property int $geonameId The GeoName ID for the country. This attribute is * @property int $geonameId The GeoName ID for the country.
* returned by all end points.
* *
* @property string $isoCode The {@link http://en.wikipedia.org/wiki/ISO_3166-1 * @property string $isoCode The {@link http://en.wikipedia.org/wiki/ISO_3166-1
* two-character ISO 3166-1 alpha code} for the country. This attribute is * two-character ISO 3166-1 alpha code} for the country.
* returned by all end points.
* *
* @property string $name The name of the country based on the locales list * @property string $name The name of the country based on the locales list
* passed to the constructor. This attribute is returned by all end points. * passed to the constructor.
* *
* @property array $names An array map where the keys are locale codes and * @property array $names An array map where the keys are locale codes and
* the values are names. This attribute is returned by all end points. * the values are names.
* *
* @property string $type A string indicating the type of entity that is * @property string $type A string indicating the type of entity that is
* representing the country. Currently we only return <code>military</code> * representing the country. Currently we only return <code>military</code>
* but this could expand to include other types such as <code>embassy</code> * but this could expand to include other types in the future.
* in the future. Returned by all endpoints.
*/ */
class RepresentedCountry extends Country class RepresentedCountry extends Country
{ {