* @since 2.0 */ class PreInsertUpdateEventArgs extends EventArgs { private $_entity; private $_entityChangeSet; public function __construct($entity, array $changeSet) { $this->_entity = $entity; $this->_entityChangeSet = $changeSet; } public function getEntity() { return $this->_entity; } public function getEntityChangeSet() { return $this->_entityChangeSet; } }