public function reset($cleanInput)
    {
        $this->setOutput(null);
        $this->setSkipped(false);
        $this->setException(null);
        $this->setErrorOutput(null);

        if($cleanInput) {
            $this->setInput(null);
            $this->setPreviousState(null);
        }
    }
public function reset($cleanInput)
    {
        $this->setOutput(null);
        $this->setSkipped(false);
        $this->setException(null);
        $this->setErrorOutput(null);

        if($cleanInput) {
            $this->setInput(null);
            $this->setPreviousState(null);
        }
    }
public function reset ( $ cleanInput ) { $ this -> setOutput ( null ) ; $ this -> setSkipped ( false ) ; $ this -> setException ( null ) ; $ this -> setErrorOutput ( null ) ; if ( $ cleanInput ) { $ this -> setInput ( null ) ; $ this -> setPreviousState ( null ) ; } }
Reset the state object
To be used before execution

@param bool $cleanInput
Reset the state object To be used before execution