document tokens

This commit is contained in:
Sarah Hoffmann
2018-05-14 23:23:38 +02:00
parent 6a0361d0c6
commit 1f689bdaae
5 changed files with 14 additions and 4 deletions

View File

@@ -7,10 +7,11 @@ namespace Nominatim\Token;
*/
class Postcode
{
/// Database word id, if available.
public $iId;
// full postcode
/// Full nomralized postcode (upper cased).
public $sPostcode;
// optional restriction to a given country
// Optional country code the postcode belongs to (currently unused).
public $sCountryCode;
public function __construct($iId, $sPostcode, $sCountryCode = '')