public function __construct(EntityManager $em, SmtpTransport $transport, $view) { parent::__construct($em); $this->entity = "Zf2User\\Entity\\User"; $this->transport = $transport; $this->view = $view; }
public function __construct(\Doctrine\ORM\EntityManager $em) { parent::__construct($em); $this->entity = "Zf2Acl\\Entity\\Resource"; }
public function persist(array $data, $id = null) { $data['role'] = $this->em->getReference('Zf2Acl\\Entity\\Role', $data['role']); $data['resource'] = $this->em->getReference('Zf2Acl\\Entity\\Resource', $data['resource']); return parent::persist($data, $id); }
public function persist(array $data, $id = null) { $data['parent'] = $this->em->getReference($this->entity, $data['parent']); return parent::persist($data, $id); }
public function __construct(\Doctrine\ORM\EntityManager $em) { parent::__construct($em); $this->entity = "Zf2User\\Entity\\Perfil"; }