public function outputEscapeSequence() {

        // send out any escaping to implement anything sitting in the desired state
        $this->output($this->generator->generate($this->currentState, $this->desiredState));

        // copy the current state to the now achieved desired state
        $this->currentState = clone $this->desiredState;
    }
public function outputEscapeSequence() {

        // send out any escaping to implement anything sitting in the desired state
        $this->output($this->generator->generate($this->currentState, $this->desiredState));

        // copy the current state to the now achieved desired state
        $this->currentState = clone $this->desiredState;
    }
public function outputEscapeSequence ( ) { // send out any escaping to implement anything sitting in the desired state $ this -> output ( $ this -> generator -> generate ( $ this -> currentState , $ this -> desiredState ) ) ; // copy the current state to the now achieved desired state $ this -> currentState = clone $ this -> desiredState ; }
Send out the escape sequence which will accomplish the desired state
Send out the escape sequence which will accomplish the desired state