private function setAction($action = null) { if ($action !== null) { $this->action = (string) $action; } }