Ejemplo n.º 1
0
 private function createDeferredInvites($email, Group $group)
 {
     $differedEntity = $this->entityManager->getRepository('CivixCoreBundle:DeferredInvites')->findOneBy(array('email' => $email, 'group' => $group));
     if (!$differedEntity instanceof DeferredInvites) {
         $differedEntity = new DeferredInvites();
         $differedEntity->setEmail($email)->setGroup($group);
     }
     return $differedEntity;
 }
 public function getStatus()
 {
     $this->__load();
     return parent::getStatus();
 }