public function createService(ServiceLocatorInterface $serviceLocator)
    {
        $mapper = new UserRoleLinkerMapper;
        $options = $serviceLocator->get('UserRbac\ModuleOptions');
        $class = $options->getUserRoleLinkerEntityClass();
        $mapper->setEntityPrototype(new $class);
        $mapper->setDbAdapter($serviceLocator->get('UserRbac\DbAdapter'));
        $mapper->setTableName($options->getTableName());

        return $mapper;
    }