public function setCwd($cwd)
    {
        if (empty($cwd)) {
            $cwd    = null;
        } else {
            $cwd    = (string)$cwd;
        }
        $this->cwd  = $cwd;
        return $this;
    }
public function setCwd($cwd)
    {
        if (empty($cwd)) {
            $cwd    = null;
        } else {
            $cwd    = (string)$cwd;
        }
        $this->cwd  = $cwd;
        return $this;
    }
public function setCwd ( $ cwd ) { if ( empty ( $ cwd ) ) { $ cwd = null ; } else { $ cwd = ( string ) $ cwd ; } $ this -> cwd = $ cwd ; return $ this ; }
Sets the working directory for the call

@param   string|null  $cwd   The working directory in which the call will be executed
@return  Call
Sets the working directory for the call