Gets userMapper

@return \ZfcUser\Mapper\UserInterface
436486
public function getUserMapper()
    {
        if (!$this->userMapper) {
            $this->userMapper = $this->getServiceLocator()->get('zfcuser_user_mapper');
        }

        return $this->userMapper;
    }
1058462
public function getUserList()
    {
        // Tell LazyJsonMapper to give us all of our internal data as an array.
        // NOTE: This creates a COPY of the array. It's not attached to the main
        // storage, which means that any changes we make to the new array aren't
        // going to affect the actual LazyJsonMapper object's own data. That
        // won't matter for pure getter-based objects like this one (which is
        // all you'll need in 99.9999999% of cases where you'll want to read
        // unpredictable data). So if the user serializes this LazyJsonMapper
        // object, or gets it "asJson()", etc, then they'd still be serializing
        // the original, untouched internal data, which is exactly what we are
        // retrieving here. So everything works out perfectly as long as we
        // don't have any setters! (But setters will be demonstrated later.)
        if ($this->_userList === null) {
            // Get a copy of the internal data as an array, and cache it.
            // NOTE: This only throws if there is unmappable data internally.
            $this->_userList = $this->asArray(); // Throws.
        }

        // Loop through the list of JSON properties and convert every "array"
        // value to a User object instead. That's because all of JSON's nested,
        // not-yet-converted "JSON object values" are associative sub-arrays.
        foreach ($this->_userList as &$value) {
            if (is_array($value)) {
                // NOTE: The User constructor can only throw if a custom _init()
                // fails or if its class property map can't be compiled.
                $value = new User($value); // Throws.
            }
        }

        // Now just return our key-value array. The inner array values have
        // been converted to User objects, which makes them easy to work with.
        return $this->_userList;
    }
266405
public function getMapper()
    {
        if (!$this->mapper instanceof UserProviderInterface) {
            $this->setMapper($this->getServiceLocator()->get('SocialAuth-UserProviderMapper'));
        }

        return $this->mapper;
    }
335955
public function getGameMapper()
    {
        if (null === $this->gameMapper) {
            $this->gameMapper = $this->serviceLocator->get('playgroundgame_game_mapper');
        }

        return $this->gameMapper;
    }
741556
public function getUserIdByMappedEmailAddress() {

        // get the mapped recipient (valid because $this->isInboundEmailToEmailAddressMapToUser() is already done)
        $mappedRoutes = config('lasallecmsmailgun.inbound_map_mailgun_routes_with_user_email_address');

        foreach ($mappedRoutes as $route => $user) {

            // if "from" email address is the same as the route specified in the config...
            if ($this->request->input('recipient') == $route) {
                $userEmailAddress = $user;
            }
        }

        return $this->userRepository->findUserIdByEmail($userEmailAddress);
    }
1328516
public function getQuizAnswerMapper()
    {
        if (null === $this->quizAnswerMapper) {
            $this->quizAnswerMapper = $this->serviceLocator->get('playgroundgame_quizanswer_mapper');
        }

        return $this->quizAnswerMapper;
    }
1230282
public function getMapper()
    {
        if (!$this->mapper instanceof CategoryMapper) {
            $this->mapper = $this->getServiceLocator()->get('dlccategory_category_mapper');
        }
        return $this->mapper;
    }
519962
public function getFaqMapper()
    {
        if (null === $this->faqMapper) {
            $this->faqMapper = $this->getServiceManager()->get('playgroundfaq_faq_mapper');
        }

        return $this->faqMapper;
    }
970975
public function getStoryMapper()
    {
        if (null === $this->storyMapper) {
            $this->storyMapper = $this->serviceLocator->get('playgroundflow_story_mapper');
        }

        return $this->storyMapper;
    }
512574
public function getUsers()
    {
        $userEntities = $this->findAll();
        if ($userEntities) {
            foreach ($userEntities as $userEntity) {
                $this->unsetSensitiveFields($userEntity);
            }
        }

        return $userEntities;
    }
265285
public function getUserClient()
    {
        if (!$this->userClient) {
            $this->userClient = Factory::getUserClient(
                null, $this->configuration->getApiKey(), [Factory::API_BASE_URL => $this->configuration->getApiUri()]
            );
        }

        return $this->userClient;
    }
578617
public function getMappers(): array
    {
        if (empty($this->mappers)) {
            $this->setMappers([
                new NicknameMapper($this->getNicknameDelimiters()),
                new SalutationMapper($this->getSalutations(), $this->getMaxSalutationIndex()),
                new SuffixMapper($this->getSuffixes()),
                new InitialMapper(),
                new LastnameMapper($this->getPrefixes()),
                new FirstnameMapper(),
                new MiddlenameMapper(),
            ]);
        }

        return $this->mappers;
    }
1161768
protected function getCredentialListMappings() {
        if (!$this->_credentialListMappings) {
            $this->_credentialListMappings = new CredentialListMappingList(
                $this->version,
                $this->solution['accountSid'],
                $this->solution['sid']
            );
        }

        return $this->_credentialListMappings;
    }
467897
public function getLocaleMapper()
    {
        if (null === $this->localeMapper) {
            $this->localeMapper = $this->serviceLocator->get('playgroundcore_locale_mapper');
        }

        return $this->localeMapper;
    }
862141
public function getContextUser()
    {
        if (!isset($this->user)) {
            $this->user = User::fromConfig($this->invokeApiGet('SHOW_USER_CONFIG'), $this);
        }
        return $this->user;
    }
1171785
public function get()
    {
        $customer = null;
        $user = null;

        if (true === $this->securityContext->isGranted('IS_AUTHENTICATED_REMEMBERED')) {
            // user is authenticated
            $user = $this->securityContext->getToken()->getUser();

            if (!$user instanceof UserInterface) {
                throw new \RuntimeException('User must be an instance of Symfony\Component\Security\Core\User\UserInterface');
            }

            $customer = $this->customerManager->findOneBy([
                'user' => $user->getId(),
            ]);
        }

        if (!$customer) {
            $basket = $this->getBasket();

            if ($basket && $basket->getCustomer()) {
                $customer = $basket->getCustomer();
            }
        }

        if (!$customer) {
            $customer = $this->customerManager->create();
        }

        if (!$customer->getLocale()) {
            $customer->setLocale($this->locale);
        }

        if ($user && $customer) {
            $customer->setUser($user);
        }

        return $customer;
    }
729120
public function getWidgetMapper()
    {
        if (null === $this->widgetMapper) {
            $this->widgetMapper = $this->serviceLocator->get('playgroundflow_widget_mapper');
        }

        return $this->widgetMapper;
    }