<?php

namespace InfinityBase\Mapper;

use Doctrine\ORM\EntityRepository;
use InfinityBase\ServiceManager\AbstractServiceLocatorAware;

abstract class AbstractMapper extends AbstractServiceLocatorAware
{

    /**
     * @var EntityRepository
     */
    private $repository;

    /**
     * Get the accounts repository
     * 
     * @return EntityRepository
     */
    private function getRepository()
    {
        if (null === $this->repository) {
            $this->repository = $this->getEntityManager()
                    ->getRepository($this->getModuleNamespace() . '\Entity\\' . $this->getEntityName());
        }
        return $this->repository;
    }

}
<?php

namespace InfinityBase\Mapper;

use Doctrine\ORM\EntityRepository;
use InfinityBase\ServiceManager\AbstractServiceLocatorAware;

abstract class AbstractMapper extends AbstractServiceLocatorAware
{

    use EntityManagerAwareTrait;

    /**
     * @var EntityRepository
     */
    private $repository;

    /**
     * Get the accounts repository
     * 
     * @return EntityRepository
     */
    private function getRepository()
    {
        if (null === $this->repository) {
            $this->repository = $this->getEntityManager()
                    ->getRepository($this->getModuleNamespace() . '\Entity\\' . $this->getEntityName());
        }
        return $this->repository;
    }

}
--- 
+++ 
@@ -7,8 +7,6 @@
 
 abstract class AbstractMapper extends AbstractServiceLocatorAware
 {
-
-    use EntityManagerAwareTrait;
 
     /**
      * @var EntityRepository
Remove entitymanagerawaretrait as it's extending abstractservicelocatoraware
