private function getFuzzinessConfiguration($scopeCode)
    {
        $path = self::FUZZINESS_CONFIG_XML_PREFIX;

        $configuration = (bool) $this->getConfigValue($path . "/enable", $scopeCode);

        if ($configuration === true) {
            $configurationParams = [
                'value'        => $this->getConfigValue($path . "/value", $scopeCode),
                'prefixLength' => $this->getConfigValue($path . "/prefix_length", $scopeCode),
                'maxExpansion' => $this->getConfigValue($path . "/max_expansion", $scopeCode),
            ];

            $configuration = $this->createFuzzinessConfiguration($configurationParams);
        }

        return $configuration === false ? null : $configuration;
    }
private function getFuzzinessConfiguration($scopeCode)
    {
        $path = self::FUZZINESS_CONFIG_XML_PREFIX;

        $configuration = (bool) $this->getConfigValue($path . "/enable", $scopeCode);

        if ($configuration === true) {
            $configurationParams = [
                'value'        => $this->getConfigValue($path . "/value", $scopeCode),
                'prefixLength' => $this->getConfigValue($path . "/prefix_length", $scopeCode),
                'maxExpansion' => $this->getConfigValue($path . "/max_expansion", $scopeCode),
            ];

            $configuration = $this->createFuzzinessConfiguration($configurationParams);
        }

        return $configuration === false ? null : $configuration;
    }
private function getFuzzinessConfiguration ( $ scopeCode ) { $ path = self :: FUZZINESS_CONFIG_XML_PREFIX ; $ configuration = ( bool ) $ this -> getConfigValue ( $ path . "/enable" , $ scopeCode ) ; if ( $ configuration === true ) { $ configurationParams = [ 'value' => $ this -> getConfigValue ( $ path . "/value" , $ scopeCode ) , 'prefixLength' => $ this -> getConfigValue ( $ path . "/prefix_length" , $ scopeCode ) , 'maxExpansion' => $ this -> getConfigValue ( $ path . "/max_expansion" , $ scopeCode ) , ] ; $ configuration = $ this -> createFuzzinessConfiguration ( $ configurationParams ) ; } return $ configuration === false ? null : $ configuration ; }
Retrieve fuzziness configuration object.

@param string $scopeCode The scope code.

@return FuzzinessConfigurationInterface|null
Retrieve fuzziness configuration object .