A four-year-old Israeli boy killed in a mortar attack Friday, has been laid to rest at a funeral attended by Israeli President Reuven Rivlin.

When Daniel Tragerman was killed by a mortar fired from Gaza, he became the fourth Israeli civilian killed, and the first Israeli child to die in the latest conflict.

Ben Hartman, a reporter for the Jerusalem Post, said the boy's death resonated with Israelis he'd spoken to, even if they didn't know the boy.

"It brought the fighting in a more painful way to a lot more people. Obviously it's not a distant conflict, people have family who are soldiers in the army," Hartman told CTV News Channel from Israel on Sunday.

"But the death of a very young child in a border strike is a very traumatic, very sad thing for the country... It also seems to, for many people, kind of sum up what's going on in some of these communities on the border with Gaza."

Nearly 70 Israelis and more than 2,000 Palestinians have died since fighting began in July.

Israeli Prime Minister Benjamin Netanyahu responded to Tragerman's death saying that Hamas will pay a heavy price.