public function setRelayState($relayState) { assert('is_string($relayState) || is_null($relayState)'); $this->relayState = $relayState; }