From 7246a05ccea7c2d8e1cd7e77ef771a3a7bbce370 Mon Sep 17 00:00:00 2001 From: Stijn Haulotte Date: Wed, 20 Aug 2014 22:12:33 +0200 Subject: [PATCH] Fixed error with dev-master zfcUser --- composer.json | 4 ---- config/services.config.php | 3 +-- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/composer.json b/composer.json index 926e656..a839644 100644 --- a/composer.json +++ b/composer.json @@ -14,10 +14,6 @@ ], "require": { "php": ">=5.4.0", - "doctrine/common" : ">=v2.4.2", - "doctrine/orm" : ">=v2.4.4", - "doctrine/doctrine-orm-module" : ">=0.8.0", - "zf-commons/zfc-user-doctrine-orm" : "=dev-master", "zf-commons/zfc-user": "~1.0" }, "autoload": { diff --git a/config/services.config.php b/config/services.config.php index 374ea48..541a77b 100644 --- a/config/services.config.php +++ b/config/services.config.php @@ -1,6 +1,5 @@ setDbAdapter($sm->get('zfcuser_zend_db_adapter')); $entityClass = $zfcUserOptions->getUserEntityClass(); $mapper->setEntityPrototype(new $entityClass); - $mapper->setHydrator(new UserHydrator()); + $mapper->setHydrator($sm->get('zfcuser_user_hydrator')); } return $mapper;