LOS ANGELES — Terry Collins has a message for Matt Harvey and any other Mets pitcher unhappy with the team’s six-man rotation.

“They’ve got to get over it,” the Mets manager said Sunday before his team hammered the Dodgers 8-0.

After his Saturday start against the Dodgers, on six days’ rest, Harvey indicated he had trouble finding a rhythm because of the gap between starts. Collins is implementing the six-man rotation to keep his young pitchers from reaching their innings limits too soon.

On Saturday, Harvey walked five batters and allowed three runs over five innings in which he threw 100 pitches. But Harvey said he was not using the six-man rotation as an excuse.

“I know he’s frustrated by it,” Collins said. “He and I have talked about it — we’ve got to be creative between starts. And I certainly understand it. He’s a tremendous competitor and he wants to be out there as much as he can on a regular basis.

“I guess the best way to say it is, ‘Matt, we’ll go back to a five-man, but I hope you enjoy watching the rest of the season sitting on the bench in September when we need you.’ We’ve got to make the adjustment, and Matt knows that.”

Collins joked that Harvey can pitch for Single-A Brooklyn during the All-Star break if he’s worried about keeping sharp during the layoff.

Logan Verrett pitched three scoreless innings to earn his first major league save.

Michael Cuddyer went hitless in five at-bats and is 8-for-56 (.107) over his past 18 games. The veteran outfielder returned to the starting lineup after coming off the bench the previous two games because of a sore knee. He had missed the final two games of last week’s homestand.

Jenrry Mejia is expected to arrive in San Francisco on Monday, a day before he will be removed from the suspended list. Mejia’s 80-game suspension for using banned performance enhancing drugs ends Tuesday.