Access the syncMapItems

@return \Twilio\Rest\Preview\Sync\Service\SyncMap\SyncMapItemList
542679
protected function getSyncMapItems() {
        if (!$this->_syncMapItems) {
            $this->_syncMapItems = new SyncMapItemList(
                $this->version,
                $this->solution['serviceSid'],
                $this->solution['sid']
            );
        }

        return $this->_syncMapItems;
    }
938853
public function getList()
    {
        /** @var RcmUserService $rcmUserService */
        $rcmUserService = $this->serviceLocator->get(RcmUserService::class);

        //ACCESS CHECK
        if (!$rcmUserService->isAllowed(
            ResourceName::RESOURCE_SITES,
            'admin'
        )
        ) {
            $this->getResponse()->setStatusCode(Response::STATUS_CODE_401);
            return $this->getResponse();
        }

        /** @var \Rcm\Repository\Language $languageRepo */
        $languageRepo = $this->getEntityManager()->getRepository(\Rcm\Entity\Language::class);

        try {
            $languages = $languageRepo->findBy([], ['languageName' => 'ASC']);
        } catch (\Exception $e) {
            return new ApiJsonModel(null, 1, 'An error occurred will getting languages.');
        }

        return new ApiJsonModel($languages, 0, 'Success');
    }
147554
public function getAdapterAlias()
    {
        if ('__undefined__' == $this->adapterAlias) {
            $this->adapterAlias = null;
            $annotations = $this->inspector->getClassAnnotations();
            if ($annotations->hasAnnotation('@adapter')) {
                $this->adapterAlias = $annotations
                    ->getAnnotation('@adapter')
                    ->getValue();
            }
        }
        return $this->adapterAlias;
    }
1194704
public function getPageMapper()
    {
        if (null === $this->pageMapper) {
            $this->pageMapper = $this->serviceLocator->get('playgroundcms_page_mapper');
        }

        return $this->pageMapper;
    }
84902
public function getObjectMappingMapper()
    {
        if (null === $this->objectMappingMapper) {
            $this->objectMappingMapper = $this->serviceLocator->get('playgroundflow_objectmapping_mapper');
        }
    
        return $this->objectMappingMapper;
    }
721639
public static function map()
    {
        $permissions = [];

        foreach (static::get() as $permission) {
            $permissions[$permission->permission][] = (string) $permission->group_id;
        }

        return $permissions;
    }
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;
    }
778547
public function getSlideshowMapper()
    {
        if (null === $this->slideshowMapper) {
            $this->slideshowMapper = $this->serviceLocator->get('playgroundcms_slideshow_mapper');
        }

        return $this->slideshowMapper;
    }
698523
public function getPartnerMapper()
    {
        if (null === $this->partnerMapper) {
            $this->partnerMapper = $this->getServiceManager()->get('playgroundpartnership_partner_mapper');
        }

        return $this->partnerMapper;
    }
958557
static public function serviceMapping () {
        return [
            BringData::PRODUCT_SERVICEPAKKE => [self::ADDITIONAL_SERVICE_CASH_ON_DELIVERY, self::ADDITIONAL_SERVICE_RECIPIENT_NOTIFICATION, self::ADDITIONAL_SERVICE_SOCIAL_CONTROL],
            BringData::PRODUCT_BPAKKE_DOR_DOR => [self::ADDITIONAL_SERVICE_RECIPIENT_NOTIFICATION, self::ADDITIONAL_SERVICE_SIMPLE_DELIVERY, self::ADDITIONAL_SERVICE_DELIVERY_OPTION],
            BringData::PRODUCT_EKSPRESS09 => [self::ADDITIONAL_SERVICE_RECIPIENT_NOTIFICATION, self::ADDITIONAL_SERVICE_SATURDAY_DELIVERY],
            BringData::PRODUCT_PICKUP_PARCEL => [self::ADDITIONAL_SERVICE_CASH_ON_DELIVERY, self::ADDITIONAL_SERVICE_FLEX_DELIVERY, self::ADDITIONAL_SERVICE_RECIPIENT_NOTIFICATION, self::ADDITIONAL_SERVICE_DELIVERY_OPTION],
            BringData::PRODUCT_PICKUP_PARCEL_BULK => [self::ADDITIONAL_SERVICE_CASH_ON_DELIVERY, self::ADDITIONAL_SERVICE_FLEX_DELIVERY, self::ADDITIONAL_SERVICE_RECIPIENT_NOTIFICATION, self::ADDITIONAL_SERVICE_DELIVERY_OPTION],
            BringData::PRODUCT_HOME_DELIVERY_PARCEL => [self::ADDITIONAL_SERVICE_CASH_ON_DELIVERY, self::ADDITIONAL_SERVICE_FLEX_DELIVERY, self::ADDITIONAL_SERVICE_RECIPIENT_NOTIFICATION],
            BringData::PRODUCT_BUSINESS_PARCEL => [self::ADDITIONAL_SERVICE_CASH_ON_DELIVERY, self::ADDITIONAL_SERVICE_FLEX_DELIVERY, self::ADDITIONAL_SERVICE_RECIPIENT_NOTIFICATION, self::ADDITIONAL_SERVICE_PHONE_NOTIFICATION, self::ADDITIONAL_SERVICE_DELIVERY_INDOORS],
            BringData::PRODUCT_BUSINESS_PARCEL_BULK => [self::ADDITIONAL_SERVICE_CASH_ON_DELIVERY, self::ADDITIONAL_SERVICE_FLEX_DELIVERY, self::ADDITIONAL_SERVICE_RECIPIENT_NOTIFICATION, self::ADDITIONAL_SERVICE_PHONE_NOTIFICATION, self::ADDITIONAL_SERVICE_DELIVERY_INDOORS],
            BringData::PRODUCT_EXPRESS_NORDIC_0900_BULK => [self::ADDITIONAL_SERVICE_CASH_ON_DELIVERY, self::ADDITIONAL_SERVICE_FLEX_DELIVERY, self::ADDITIONAL_SERVICE_RECIPIENT_NOTIFICATION, self::ADDITIONAL_SERVICE_PHONE_NOTIFICATION, self::ADDITIONAL_SERVICE_DELIVERY_INDOORS],
            BringData::PRODUCT_BUSINESS_PALLET => [self::ADDITIONAL_SERVICE_FLEX_DELIVERY, self::ADDITIONAL_SERVICE_RECIPIENT_NOTIFICATION, self::ADDITIONAL_SERVICE_PHONE_NOTIFICATION, self::ADDITIONAL_SERVICE_DELIVERY_INDOORS],
            BringData::PRODUCT_BUSINESS_PARCEL_HALFPALLET => [self::ADDITIONAL_SERVICE_FLEX_DELIVERY, self::ADDITIONAL_SERVICE_RECIPIENT_NOTIFICATION, self::ADDITIONAL_SERVICE_PHONE_NOTIFICATION, self::ADDITIONAL_SERVICE_DELIVERY_INDOORS],
            BringData::PRODUCT_BUSINESS_PARCEL_QUARTERPALLET => [self::ADDITIONAL_SERVICE_FLEX_DELIVERY, self::ADDITIONAL_SERVICE_RECIPIENT_NOTIFICATION, self::ADDITIONAL_SERVICE_PHONE_NOTIFICATION, self::ADDITIONAL_SERVICE_DELIVERY_INDOORS],
            BringData::PRODUCT_EXPRESS_NORDIC_0900 => [self::ADDITIONAL_SERVICE_FLEX_DELIVERY, self::ADDITIONAL_SERVICE_RECIPIENT_NOTIFICATION, self::ADDITIONAL_SERVICE_PHONE_NOTIFICATION, self::ADDITIONAL_SERVICE_DELIVERY_INDOORS]
        ];
    }
159477
public function getForeignLocalMapping()
    {
        $h = array();
        for ($i = 0, $size = count($this->localColumns); $i < $size; $i++) {
            $h[$this->foreignColumns[$i]] = $this->localColumns[$i];
        }

        return $h;
    }
436970
public function getRewardMapper()
    {
        if (null === $this->rewardMapper) {
            $this->rewardMapper = $this->serviceLocator->get('playgroundreward_reward_mapper');
        }

        return $this->rewardMapper;
    }
188792
public function getLists()
    {
        $settings = CmService::$plugin->getSettings();

        try {
            $auth = array(
                'api_key' => (string)$settings->apiKey);
            $client = new \CS_REST_Clients(
                $settings->clientId,
                $auth);

            $result = $client->get_lists();

            if($result->was_successful()) {
                $body = array();
                foreach ($result->response as $list) {
                    $body[] = $list;
                }
                return [
                    'success' => true,
                    'statusCode' => $result->http_status_code,
                    'body' => $body
                ];
            } else {
                return [
                    'success' => false,
                    'statusCode' => $result->http_status_code,
                    'reason' => $result->response
                ];
            }
        } catch (\Exception $e) {
            return [
                'success' => false,
                'reason' => $e->getMessage()
            ];
        }
    }
522149
public function getStoryMappingMapper()
    {
        if (null === $this->storyMappingMapper) {
            $this->storyMappingMapper = $this->serviceLocator->get('playgroundflow_storymapping_mapper');
        }
    
        return $this->storyMappingMapper;
    }
29239
public function getMap()
    {
        if (isset($this->raw->map)) {
            $map = array();

            foreach ((array) $this->raw->map as $item) {
                $processed = array();

                foreach ($item as $match => $replace) {
                    $processed[Path::canonical($match)] = Path::canonical($replace);
                }

                if (isset($processed['_empty_'])) {
                    $processed[''] = $processed['_empty_'];

                    unset($processed['_empty_']);
                }

                $map[] = $processed;
            }

            return $map;
        }

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

        return $this->localeMapper;
    }
881321
public function getMappings()
    {
        if ($this->mappings === null) {
            $this->mappings = new Mappings($this->data['mappings'], $this);
        }
        return $this->mappings;
    }