Beispiel #1
0
 public function registerClick(EmailLink $link)
 {
     $click = new EmailClick($link);
     $this->em->persist($click);
     $this->logger->info(sprintf('ClickManager::registerClick %s', $link->getId()));
     return $click;
 }
Beispiel #2
0
 public function getLocalLink(EmailLink $link)
 {
     return $this->router->generate('email_link', array('id' => $link->getId()), true);
 }