private function updateObserverState(\StdClass $observer) {
        $this->event->function = $observer->function;
        $observerObject = $observer->observer;
        $observerObject->update($this);
    }