%PDF- %PDF-
Direktori : /var/www/html/bbw/farmaci/kritik-portale/module/Basis/src/Basis/Entity/ |
Current File : /var/www/html/bbw/farmaci/kritik-portale/module/Basis/src/Basis/Entity/EventStoreEntity.php |
<?php /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ namespace Basis\Entity; class EventStoreEntity { protected $ideventstore; protected $entityid; protected $entitytype; protected $entityversion; protected $eventtype; protected $eventtypeversion; protected $viewdata; protected $domaindata; protected $user_iduser; protected $time; 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); } }