src/Factory/UserRoleLinkerMapperFactory.php
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;
    }
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;
    }
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 ; }
Gets user role linker

@param  ServiceLocatorInterface $serviceLocator
@return UserRoleLinkerMapper
Gets user role linker