public function __construct(array $data = array()) { // Generate Unique object ID $this->_objectId = uniqid('entity_', true) . spl_object_hash($this); $this->initFields(); // Set given data if ($data) { $this->data($data, false); } }