for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* TERYT-API
*
* Copyright (c) 2017 pudelek.org.pl
* @license MIT License (MIT)
* For the full copyright and license information, please view source file
* that is bundled with this package in the file LICENSE
* @author Marcin Pudełek <[email protected]>
*/
* Created by Marcin Pudełek <[email protected]>
* Date: 06.09.2017
namespace mrcnpdlk\Teryt\ResponseModel\Territory;
* Class UlicaDrzewo
class UlicaDrzewo extends Ulica
{
* 7 znakowy identyfikator miejscowości podstawowej
* @var string
public $cityParentId;
* Zwiera nazwę ulicy w podziale na pola z uwzględnieniem słów kluczowych
public $streetName1;
public $streetName2;
* wyznacza miejsce podziału pełnej nazwy ulicy na nazwa1 i nazwa2
* @var int
public $indexKey;
* UlicaDrzewo constructor.
* @param \stdClass $oData Obiekt zwrócony z TerytWS1
* @throws \mrcnpdlk\Teryt\Exception
public function __construct(\stdClass $oData)
parent::__construct($oData);
$this->cityParentId = $oData->IdentyfikatorMiejscowosciPodstawowej;
$this->streetName1 = $oData->Nazwa1;
$this->streetName2 = $oData->Nazwa2;
$this->indexKey = $oData->IndeksKlucza;
}