public function setAction($action, $nextVersion = null) { $this->action = $action; $this->nextVersion = $nextVersion; }