public function setExitCode(int $code): void
    {
        if (isset($this->protocol)) {
            $this->protocol->writeExitCode($code);
        }
    }
public function setExitCode(int $code): void
    {
        if (isset($this->protocol)) {
            $this->protocol->writeExitCode($code);
        }
    }
public function setExitCode ( int $ code ) : void { if ( isset ( $ this -> protocol ) ) { $ this -> protocol -> writeExitCode ( $ code ) ; } }
Write exit code.

@param int $code
Write exit code .