public function resolveContactFunction($id)
{
if ($this->cache->contains($id)) {
return $this->cache->fetch($id);
}
$contact = $this->contactRepository->find($id);
if ($contact === null) {
return;
}
$this->cache->save($id, $contact);
return $contact;
}