Hi,
I am migrating from zf2 to zf3 and I am getting the following error.
Fatal error: Declaration of ZfcUserDoctrineORM\Mapper\User::insert(ZfcUser\Entity\UserInterface $entity) must be compatible with ZfcUser\Mapper\User::insert(ZfcUser\Entity\UserInterface $entity, $tableName = NULL, ?Zend\Hydrator\HydratorInterface $hydrator = NULL) my_project/vendor/zf-commons/zfc-user-doctrine-orm/src/ZfcUserDoctrineORM/Mapper/User.php on line 11
I could solve this by implementing the mapper interface instead of extending ZfcUserMapper
Hi, I am migrating from zf2 to zf3 and I am getting the following error.
Fatal error: Declaration of ZfcUserDoctrineORM\Mapper\User::insert(ZfcUser\Entity\UserInterface $entity) must be compatible with ZfcUser\Mapper\User::insert(ZfcUser\Entity\UserInterface $entity, $tableName = NULL, ?Zend\Hydrator\HydratorInterface $hydrator = NULL) my_project/vendor/zf-commons/zfc-user-doctrine-orm/src/ZfcUserDoctrineORM/Mapper/User.php on line 11
I could solve this by implementing the mapper interface instead of extending ZfcUserMapper