Senate Minority Leader Chuck Schumer warned President Donald Trump that a government shutdown over funding of a border wall “won’t accomplish anything.”

“If the President pursues this path, against the wishes of both Republicans and Democrats, as well as the majority of the American people, he will be heading towards a government shutdown which nobody will like and which won’t accomplish anything,” Sen. Schumer said in an email statement.

Trump said Tuesday during a campaign rally in Phoenix that he is willing to allow a government shutdown if Democrats do not agree to fund a border wall. (RELATED: Trump Open To Government Shutdown If Border Wall Isn’t Funded)

“Now the obstructionist Democrats would like us not to do it, but believe me — if we have to close down our government, we’re building that wall,” Trump said to the crowd of lauding attendees. “Let me be very clear to Democrats in Congress who oppose the border wall and stand in the way of border security, you are putting all of America’s safety at risk.”

Prior to Congress’s summer recess, the House passed a package that would fund parts of the government that included $1.6 billion in funding for the wall.

Follow Kerry on Twitter