diff --git a/src/ZfcUserDoctrineORM/Mapper/User.php b/src/ZfcUserDoctrineORM/Mapper/User.php index c63e06f..1ad57ff 100644 --- a/src/ZfcUserDoctrineORM/Mapper/User.php +++ b/src/ZfcUserDoctrineORM/Mapper/User.php @@ -6,7 +6,7 @@ use ZfcUser\Entity\UserInterface; use ZfcUser\Mapper\User as ZfcUserMapper; use ZfcUserDoctrineORM\Options\ModuleOptions; -use Zend\Stdlib\Hydrator\HydratorInterface; +use Zend\Hydrator\HydratorInterface; class User extends ZfcUserMapper { @@ -47,12 +47,12 @@ public function findById($id) return $er->find($id); } - public function insert(UserInterface $entity) + public function insert(UserInterface $entity, $tableName = null, HydratorInterface $hydrator = null) { return $this->persist($entity); } - public function update(UserInterface $entity) + public function update(UserInterface $entity, $where = null, $tableName = null, HydratorInterface $hydrator = null) { return $this->persist($entity); }