PHP statis callback vs penutupan
$myUniqueArray = unique($arrayToFilter,
function (ExamQuestion $examQuestion) {
return $examQuestion->getId();
}
);
$myUniqueArray = unique($arrayToFilter,
function (ExamQuestion $examQuestion) {
return $examQuestion->getId();
}
);