protected function returnToPreviousState($previousState) { $this->setAttribute('state', $previousState); return $this->processSave(); }