src/ServiceRuntime/Internal/Protocol1RuntimeCurrentStateClient.php
public function setCurrentState(CurrentState $state)
    {
        $outputStream = $this->_outputChannel->getOutputStream($this->_endpoint);
        $this->_serializer->serialize($state, $outputStream);
        fclose($outputStream);
    }
public function setCurrentState(CurrentState $state)
    {
        $outputStream = $this->_outputChannel->getOutputStream($this->_endpoint);
        $this->_serializer->serialize($state, $outputStream);
        fclose($outputStream);
    }
public function setCurrentState ( CurrentState $ state ) { $ outputStream = $ this -> _outputChannel -> getOutputStream ( $ this -> _endpoint ) ; $ this -> _serializer -> serialize ( $ state , $ outputStream ) ; fclose ( $ outputStream ) ; }
Sets the current state.

@param CurrentState $state The current state
Sets the current state .