public function setExitCode($exitCode)
    {
        \Assert\that($exitCode)->integer()->min(0);

        $this->exitCode = $exitCode;

        return $this;
    }
public function setExitCode($exitCode)
    {
        \Assert\that($exitCode)->integer()->min(0);

        $this->exitCode = $exitCode;

        return $this;
    }
public function setExitCode ( $ exitCode ) { \ Assert \ that ( $ exitCode ) -> integer ( ) -> min ( 0 ) ; $ this -> exitCode = $ exitCode ; return $ this ; }
Sets the exit code.

@param int $exitCode

@return $this
Sets the exit code .