src/Orm.php
private function createMapper($entity)
    {
        $mapper = new EntityMapper();
        $mapper->setAdapter(
            $this->adapters->get(
                $this->getAdapterAlias($entity)
            )
        )
            ->setEntityClassName($entity);
        $this->mappers->set($entity, $mapper);
        return $mapper;
    }
private function createMapper($entity)
    {
        $mapper = new EntityMapper();
        $mapper->setAdapter(
            $this->adapters->get(
                $this->getAdapterAlias($entity)
            )
        )
            ->setEntityClassName($entity);
        $this->mappers->set($entity, $mapper);
        return $mapper;
    }
private function createMapper ( $ entity ) { $ mapper = new EntityMapper ( ) ; $ mapper -> setAdapter ( $ this -> adapters -> get ( $ this -> getAdapterAlias ( $ entity ) ) ) -> setEntityClassName ( $ entity ) ; $ this -> mappers -> set ( $ entity , $ mapper ) ; return $ mapper ; }
Creates entity map for provided entity

@param string $entity
@return EntityMapper
Creates entity map for provided entity