public function __construct(EntityManager $em) { parent::__construct($em, User::getClassName()); $this->userDao = $em->getDao(User::getClassName()); $this->addressDao = $em->getDao(Address::getClassName()); $this->contactDao = $em->getDao(Contact::getClassName()); $this->webProfileDao = $em->getDao(WebProfile::getClassName()); }