%PDF- %PDF-
Direktori : /var/www/html/bbw/farmaci/kritik-portale/module/ReviewBase/src/ReviewBase/Entity/ |
Current File : /var/www/html/bbw/farmaci/kritik-portale/module/ReviewBase/src/ReviewBase/Entity/AddressEntity.php |
<?php /** * Description of AddressEntity * * @author Florian Koller ( conlabz GmbH ) <florian.koller at conlabz.de> */ namespace ReviewBase\Entity; class AddressEntity { protected $id; protected $entityid; protected $typename; protected $street; protected $postcode; protected $city; public function __get($property) { return $this->$property; } public function __set($property, $value) { $this->$property = $value; } public function existProperty($property) { return property_exists($this, $property); } public function exchangeArray(array $array) { foreach(array_keys($array) as $column) { $this->$column = $array[$column]; } } public function getArrayCopy() { return get_object_vars($this); } }