_objectManager = $objectManager; parent::__construct($context); } /** * @deprecated since 2.9.0 * @see \Plumrocket\Base\Model\Extension\Customer\GetTrueCustomerKey::execute * @param string $customerKey * @return string */ protected function getTrueCustomerKey($customerKey) { $trueKey = ''; if ($customerKey === '532416486b540ea2a1e50c4070b671611b44f52718') { $data = explode('_', $this->_getModuleName()); $modName = $data[1] ?? ''; $trueKey = $this->scopeConfig->getValue($modName . '/module/data', ScopeInterface::SCOPE_STORE); } return $trueKey ?: $customerKey; } /** * Receive magento config value * @deprecated since 2.3.0 * @see \Plumrocket\Base\Helper\AbstractConfig::getConfig * * @param string $path * @param string|int $store * @param string|null $scope * @return mixed */ public function getConfig($path, $store = null, $scope = null) { if ($scope === null) { $scope = ScopeInterface::SCOPE_STORE; } return $this->scopeConfig->getValue($path, $scope, $store); } }